Class: SlackRubyBot::Commands::Unknown
- Defined in:
- lib/slack-ruby-bot/commands/unknown.rb
Class Method Summary collapse
Methods inherited from Base
bot_mentioned_in_message?, command, default_command_name, direct_message?, finalize_routes!, invoke, match, message_from_another_user?, operator, parse, send_gif, send_message, send_message_with_gif
Class Method Details
.call(client, data, _match) ⇒ Object
6 7 8 |
# File 'lib/slack-ruby-bot/commands/unknown.rb', line 6 def self.call(client, data, _match) client.say(channel: data.channel, text: "Sorry <@#{data.user}>, I don't understand that command!", gif: 'idiot') end |