diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/main.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.zig b/src/main.zig index 2761f56..4bd15fe 100644 --- a/src/main.zig +++ b/src/main.zig | |||
| @@ -202,7 +202,7 @@ 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")) { | 205 | } else if (std.ascii.eqlIgnoreCase(text, "forgor")) { |
| 206 | try bot.sendMessage_(.{ | 206 | try bot.sendMessage_(.{ |
| 207 | .chat_id = msg.chat.id, | 207 | .chat_id = msg.chat.id, |
| 208 | .text = "💀", | 208 | .text = "💀", |
| @@ -211,7 +211,7 @@ fn onTextMessage(bot: *Bot, msg: types.Message, text: []const u8) !void { | |||
| 211 | .chat_id = msg.chat.id, | 211 | .chat_id = msg.chat.id, |
| 212 | }, | 212 | }, |
| 213 | }); | 213 | }); |
| 214 | } else if (std.mem.eql(u8, text, "huh")) { | 214 | } else if (std.ascii.eqlIgnoreCase(text, "huh")) { |
| 215 | try bot.sendMessage_(.{ | 215 | try bot.sendMessage_(.{ |
| 216 | .chat_id = msg.chat.id, | 216 | .chat_id = msg.chat.id, |
| 217 | .text = "idgi", | 217 | .text = "idgi", |