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