Class: SlackRubyBot::Bot
Class Method Summary
collapse
command, default_command_name, help, invoke, match, operator, scan, send_gif, send_message, send_message_with_gif
Methods included from Loggable
included
Class Method Details
.call(client, data, _match) ⇒ Object
13
14
15
|
# File 'lib/slack-ruby-bot/bot.rb', line 13
def self.call(client, data, _match)
client.say(channel: data.channel, text: "Sorry <@#{data.user}>, I don't understand that command!", gif: 'idiot')
end
|
.run ⇒ Object
5
6
7
|
# File 'lib/slack-ruby-bot/bot.rb', line 5
def self.run
instance.run
end
|