Sha256: edfae7a53e8040715a4721ba135b43d9d5a616d996cc3c07150fe96362c395e9

Contents?: true

Size: 475 Bytes

Versions: 4

Compression:

Stored size: 475 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)
    logger.info "HELP: #{client.owner}, user=#{data.user}"
  end
end

Version data entries

4 entries across 2 versions & 1 rubygems

Version Path
slack-ruby-bot-server-0.12.3 sample_apps/sample_app_activerecord/commands/help.rb
slack-ruby-bot-server-0.12.3 sample_apps/sample_app_mongoid/commands/help.rb
slack-ruby-bot-server-0.12.2 sample_apps/sample_app_activerecord/commands/help.rb
slack-ruby-bot-server-0.12.2 sample_apps/sample_app_mongoid/commands/help.rb