From 679603e0a9fc72e64b44491c458b9f38c35a2618 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lera=20Elvo=C3=A9?= Date: Tue, 23 May 2023 23:47:00 +0300 Subject: [PATCH] what am i doing with my life 2 --- bot.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.rb b/bot.rb index b1ec70d..35c78f7 100644 --- a/bot.rb +++ b/bot.rb @@ -102,7 +102,7 @@ bot.message(with_text: '!ault') do |event| end bot.message() do |event| - if 'shit' in event.message + if event.message.include? 'shit' event << AULT end end