Sha256: 1a247d569e3090a50944fd891df32e3f85a96e1b3452b0c37ec294e972da75c9
Contents?: true
Size: 304 Bytes
Versions: 3
Compression:
Stored size: 304 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, gif: 'selfie') end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
slack-ruby-bot-0.15.0 | lib/slack-ruby-bot/commands/about.rb |
slack-ruby-bot-0.14.0 | lib/slack-ruby-bot/commands/about.rb |
slack-ruby-bot-0.13.0 | lib/slack-ruby-bot/commands/about.rb |