Sha256: 8fd867db080846dbe16fe1a149815561a7bdc1a60e566483da8aeacec316c8a4

Contents?: true

Size: 273 Bytes

Versions: 5

Compression:

Stored size: 273 Bytes

Contents

module SlackRubyBot
  module Commands
    class Default < Base
      command 'about'
      match(/^#{bot_matcher}$/u)

      def self.call(client, data, _match)
        client.say(channel: data.channel, text: SlackRubyBot::ABOUT, gif: 'selfie')
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
slack-ruby-bot-0.12.0 lib/slack-ruby-bot/commands/about.rb
slack-ruby-bot-0.11.2 lib/slack-ruby-bot/commands/about.rb
slack-ruby-bot-0.11.1 lib/slack-ruby-bot/commands/about.rb
slack-ruby-bot-0.11.0 lib/slack-ruby-bot/commands/about.rb
slack-ruby-bot-0.10.5 lib/slack-ruby-bot/commands/about.rb