Sha256: db996a5e8abea3b79e950be3485325aeba3900393cc4fe224ae0e5d7eadd7a1c
Contents?: true
Size: 386 Bytes
Versions: 7
Compression:
Stored size: 386 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: 'idiot') end end end
Version data entries
7 entries across 7 versions & 1 rubygems