lib/slack-ruby-bot/commands/unknown.rb in slack-ruby-bot-0.9.0 vs lib/slack-ruby-bot/commands/unknown.rb in slack-ruby-bot-0.10.0
- old
+ new
@@ -2,10 +2,10 @@
module Commands
class Unknown < Base
match(/^(?<bot>\S*)[\s]*(?<expression>.*)$/)
def self.call(client, data, _match)
- client.say(channel: data.channel, text: "Sorry <@#{data.user}>, I don't understand that command!", gif: 'idiot')
+ client.say(channel: data.channel, text: "Sorry <@#{data.user}>, I don't understand that command!", gif: 'understand')
end
end
end
end