Class: SlackRubyBot::Commands::Unknown
- Defined in:
- lib/slack-ruby-bot/commands/unknown.rb
Class Method Summary collapse
Methods inherited from Base
attachment, bot_matcher, command, command_name_from_class, help, inherited, invoke, match, operator, routes, scan
Methods included from Loggable
Class Method Details
.call(client, data, _match) ⇒ Object
8 9 10 |
# File 'lib/slack-ruby-bot/commands/unknown.rb', line 8 def self.call(client, data, _match) client.say(channel: data.channel, text: "Sorry <@#{data.user}>, I don't understand that command!") end |