diff options
Diffstat (limited to 'src/main.zig')
| -rw-r--r-- | src/main.zig | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/main.zig b/src/main.zig index 3c75f25..2761f56 100644 --- a/src/main.zig +++ b/src/main.zig | |||
| @@ -202,6 +202,24 @@ fn onTextMessage(bot: *Bot, msg: types.Message, text: []const u8) !void { | |||
| 202 | .chat_id = msg.chat.id, | 202 | .chat_id = msg.chat.id, |
| 203 | }, | 203 | }, |
| 204 | }); | 204 | }); |
| 205 | } else if (std.mem.eql(u8, text, "forgor")) { | ||
| 206 | try bot.sendMessage_(.{ | ||
| 207 | .chat_id = msg.chat.id, | ||
| 208 | .text = "💀", | ||
| 209 | .reply_parameters = .{ | ||
| 210 | .message_id = msg.message_id, | ||
| 211 | .chat_id = msg.chat.id, | ||
| 212 | }, | ||
| 213 | }); | ||
| 214 | } else if (std.mem.eql(u8, text, "huh")) { | ||
| 215 | try bot.sendMessage_(.{ | ||
| 216 | .chat_id = msg.chat.id, | ||
| 217 | .text = "idgi", | ||
| 218 | .reply_parameters = .{ | ||
| 219 | .message_id = msg.message_id, | ||
| 220 | .chat_id = msg.chat.id, | ||
| 221 | }, | ||
| 222 | }); | ||
| 205 | } else if (std.mem.eql(u8, text, "H")) { | 223 | } else if (std.mem.eql(u8, text, "H")) { |
| 206 | try bot.sendMessage_(.{ | 224 | try bot.sendMessage_(.{ |
| 207 | .chat_id = msg.chat.id, | 225 | .chat_id = msg.chat.id, |