Sha256: 9b91b0150f7baa2c5da2ddaf15e20b8202b37a7739783bf3fa7c97b1fd34f363
Contents?: true
Size: 486 Bytes
Versions: 9
Compression:
Stored size: 486 Bytes
Contents
class Help < SlackRubyBot::Commands::Base HELP = <<-EOS.freeze ``` I am your friendly slack-ruby-bot-server, here to help. General ------- help - get this helpful message whoami - print your username ``` EOS def self.call(client, data, _match) client.say(channel: data.channel, text: [HELP, SlackRubyBotServer::INFO].join("\n")) client.say(channel: data.channel, gif: 'help') logger.info "HELP: #{client.owner}, user=#{data.user}" end end
Version data entries
9 entries across 7 versions & 1 rubygems