Sha256: c4ccc108281b931e2e51c80290dc13c2b876cfa889cca0515bd2c4cdb0d099fa

Contents?: true

Size: 215 Bytes

Versions: 37

Compression:

Stored size: 215 Bytes

Contents

class Whoami < SlackRubyBot::Commands::Base
  def self.call(client, data, _match)
    client.say(channel: data.channel, text: "<@#{data.user}>")
    logger.info "UNAME: #{client.owner}, user=#{data.user}"
  end
end

Version data entries

37 entries across 22 versions & 1 rubygems

Version Path
slack-ruby-bot-server-0.12.3 sample_apps/sample_app_mongoid/commands/whoami.rb
slack-ruby-bot-server-0.12.3 sample_apps/sample_app_activerecord/commands/whoami.rb
slack-ruby-bot-server-0.12.2 sample_apps/sample_app_mongoid/commands/whoami.rb
slack-ruby-bot-server-0.12.2 sample_apps/sample_app_activerecord/commands/whoami.rb
slack-ruby-bot-server-0.12.1 sample_apps/sample_app_activerecord/commands/whoami.rb
slack-ruby-bot-server-0.12.1 sample_apps/sample_app_mongoid/commands/whoami.rb
slack-ruby-bot-server-0.12.0 sample_apps/sample_app_activerecord/commands/whoami.rb
slack-ruby-bot-server-0.12.0 sample_apps/sample_app_mongoid/commands/whoami.rb
slack-ruby-bot-server-0.11.1 sample_apps/sample_app_activerecord/commands/whoami.rb
slack-ruby-bot-server-0.11.1 sample_apps/sample_app_mongoid/commands/whoami.rb
slack-ruby-bot-server-0.11.0 sample_apps/sample_app_activerecord/commands/whoami.rb
slack-ruby-bot-server-0.11.0 sample_apps/sample_app_mongoid/commands/whoami.rb
slack-ruby-bot-server-0.10.0 sample_apps/sample_app_mongoid/commands/whoami.rb
slack-ruby-bot-server-0.10.0 sample_apps/sample_app_activerecord/commands/whoami.rb
slack-ruby-bot-server-0.9.0 sample_apps/sample_app_activerecord/commands/whoami.rb
slack-ruby-bot-server-0.9.0 sample_apps/sample_app_mongoid/commands/whoami.rb
slack-ruby-bot-server-0.8.3 sample_apps/sample_app_mongoid/commands/whoami.rb
slack-ruby-bot-server-0.8.3 sample_apps/sample_app_activerecord/commands/whoami.rb
slack-ruby-bot-server-0.8.2 sample_apps/sample_app_activerecord/commands/whoami.rb
slack-ruby-bot-server-0.8.2 sample_apps/sample_app_mongoid/commands/whoami.rb