Sha256: d07d27b45a8208f5539c711e70d3f442df262f9862f0084a16412059c0c3bef8

Contents?: true

Size: 479 Bytes

Versions: 2

Compression:

Stored size: 479 Bytes

Contents

class Help < SlackRubyBot::Commands::Base
  HELP = <<-EOS
```
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

2 entries across 2 versions & 1 rubygems

Version Path
slack-ruby-bot-server-0.1.1 sample_app/commands/help.rb
slack-ruby-bot-server-0.1.0 sample_app/commands/help.rb