lib/slack-ruby-bot/bot.rb in slack-ruby-bot-0.6.0 vs lib/slack-ruby-bot/bot.rb in slack-ruby-bot-0.6.1
- old
+ new
@@ -7,7 +7,11 @@
end
def self.instance
SlackRubyBot::App.instance
end
+
+ def self.call(client, data, _match)
+ client.say(channel: data.channel, text: "Sorry <@#{data.user}>, I don't understand that command!", gif: 'idiot')
+ end
end
end