Sha256: 67b2e20344b3d183115541cccd5a4eed31c331da3fdcbbad5b6a89bd9b6fec14

Contents?: true

Size: 289 Bytes

Versions: 4

Compression:

Stored size: 289 Bytes

Contents

# frozen_string_literal: true

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)
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
slackrb-0.17.1 lib/slack-ruby-bot/commands/about.rb
slackrb-0.17.0 lib/slack-ruby-bot/commands/about.rb
slack-ruby-bot-0.16.1 lib/slack-ruby-bot/commands/about.rb
slack-ruby-bot-0.16.0 lib/slack-ruby-bot/commands/about.rb