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.8.1 sample_apps/sample_app_mongoid/commands/whoami.rb
slack-ruby-bot-server-0.8.1 sample_apps/sample_app_activerecord/commands/whoami.rb
slack-ruby-bot-server-0.8.0 sample_apps/sample_app_mongoid/commands/whoami.rb
slack-ruby-bot-server-0.8.0 sample_apps/sample_app_activerecord/commands/whoami.rb
slack-ruby-bot-server-0.7.0 sample_apps/sample_app_activerecord/commands/whoami.rb
slack-ruby-bot-server-0.7.0 sample_apps/sample_app_mongoid/commands/whoami.rb
slack-ruby-bot-server-0.6.1 sample_apps/sample_app_activerecord/commands/whoami.rb
slack-ruby-bot-server-0.6.1 sample_apps/sample_app_mongoid/commands/whoami.rb
slack-ruby-bot-server-0.6.0 sample_apps/sample_app_activerecord/commands/whoami.rb
slack-ruby-bot-server-0.6.0 sample_apps/sample_app_mongoid/commands/whoami.rb
slack-ruby-bot-server-0.5.0 sample_app/commands/whoami.rb
slack-ruby-bot-server-0.4.0 sample_app/commands/whoami.rb
slack-ruby-bot-server-0.3.1 sample_app/commands/whoami.rb
slack-ruby-bot-server-0.3.0 sample_app/commands/whoami.rb
slack-ruby-bot-server-0.2.0 sample_app/commands/whoami.rb
slack-ruby-bot-server-0.1.1 sample_app/commands/whoami.rb
slack-ruby-bot-server-0.1.0 sample_app/commands/whoami.rb