Sha256: baea599f328a17e475a23fad26040376704dd1f92de3ff449982a4b4d09353f5
Contents?: true
Size: 488 Bytes
Versions: 22
Compression:
Stored size: 488 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
22 entries across 11 versions & 1 rubygems