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