Sha256: 6be2f199a8a73bbd7bf73675c75298124bb898fc6a99057b3239e0d3c6cb99b2
Contents?: true
Size: 255 Bytes
Versions: 2
Compression:
Stored size: 255 Bytes
Contents
require 'slack-ruby-bot' module PongBot class App < SlackRubyBot::App end class Ping < SlackRubyBot::Commands::Base def self.call(data, _command, _arguments) send_message data.channel, 'pong' end end end PongBot::App.instance.run
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
slack-ruby-bot-0.2.0 | examples/minimal/pongbot.rb |
slack-ruby-bot-0.1.0 | examples/minimal/pongbot.rb |