Class: SlackRubyBot::Commands::Default

Inherits:
Base
  • Object
show all
Defined in:
lib/slack-ruby-bot/commands/about.rb

Class Method Summary collapse

Methods inherited from Base

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

Class Method Details

.call(client, data, _match) ⇒ Object



7
8
9
# File 'lib/slack-ruby-bot/commands/about.rb', line 7

def self.call(client, data, _match)
  send_message_with_gif client, data.channel, SlackRubyBot::ABOUT, 'selfie'
end