Sha256: e822645a790a74a176884c76f9f735f42f74a5ae723c37108f41c6b630f4f3a3
Contents?: true
Size: 403 Bytes
Versions: 4
Compression:
Stored size: 403 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!") end end end
Version data entries
4 entries across 4 versions & 2 rubygems
Version | Path |
---|---|
slackrb-0.17.1 | lib/slack-ruby-bot/bot.rb |
slackrb-0.17.0 | lib/slack-ruby-bot/bot.rb |
slack-ruby-bot-0.16.1 | lib/slack-ruby-bot/bot.rb |
slack-ruby-bot-0.16.0 | lib/slack-ruby-bot/bot.rb |