Sha256: 51e5302e6abee6c32c0fd4784649e4642b5313b0d5f2e93487ca9f939b7668f4
Contents?: true
Size: 391 Bytes
Versions: 10
Compression:
Stored size: 391 Bytes
Contents
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
10 entries across 10 versions & 1 rubygems