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

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



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

def self.call(client, data, _match)
  client.say(channel: data.channel, text: SlackRubyBot::ABOUT)
end