class SlackRubyBot::Bot
Public Class Methods
call(client, data, _match)
click to toggle source
# 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
instance()
click to toggle source
# File lib/slack-ruby-bot/bot.rb, line 11 def self.instance SlackRubyBot::App.instance end
run()
click to toggle source
# File lib/slack-ruby-bot/bot.rb, line 7 def self.run instance.run end