Class: SlackRubyBot::Commands::Help

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

Class Method Summary collapse

Methods inherited from Base

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

Class Method Details

.call(client, data, _match) ⇒ Object



4
5
6
# File 'lib/slack-ruby-bot/commands/help.rb', line 4

def self.call(client, data, _match)
  client.say(channel: data.channel, text: 'See https://github.com/dblock/slack-ruby-bot, please.', gif: 'help')
end