Class: SlackRubyBot::Bot

Inherits:
Commands::Base show all
Defined in:
lib/slack-ruby-bot/bot.rb

Class Method Summary collapse

Methods inherited from Commands::Base

command, default_command_name, invoke, logger, match, operator, send_gif, send_message, send_message_with_gif

Class Method Details

.instanceObject



9
10
11
# File 'lib/slack-ruby-bot/bot.rb', line 9

def self.instance
  SlackRubyBot::App.instance
end

.runObject



5
6
7
# File 'lib/slack-ruby-bot/bot.rb', line 5

def self.run
  instance.run
end