dblock/slack-gamebot

View on GitHub
slack-gamebot/commands/info.rb

Summary

Maintainability
A
0 mins
Test Coverage
module SlackGamebot
  module Commands
    class Info < SlackRubyBot::Commands::Base
      def self.call(client, data, _match)
        client.say(channel: data.channel, text: SlackGamebot::INFO)
        logger.info "INFO: #{client.owner} - #{data.user}"
      end
    end
  end
end