Sha256: cef5019965da8a40c5ac17e1b02cb984457c5e7795babc69d572b760892c70e6
Contents?: true
Size: 422 Bytes
Versions: 3
Compression:
Stored size: 422 Bytes
Contents
# frozen_string_literal: true module SlackRubyBot class Bot < SlackRubyBot::Commands::Base delegate :client, to: :instance def self.run instance.run end def self.instance SlackRubyBot::App.instance end def self.call(client, data, _match) client.say(channel: data.channel, text: "Sorry <@#{data.user}>, I don't understand that command!", gif: 'understand') 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/bot.rb |
slack-ruby-bot-0.14.0 | lib/slack-ruby-bot/bot.rb |
slack-ruby-bot-0.13.0 | lib/slack-ruby-bot/bot.rb |