Registry / messaging / slack-ruby-bot

slack-ruby-bot

JSON →
library0.16.1rbrubygemsunverified

The easiest way to write a Slack bot in Ruby, providing a framework for building bot applications.

gem install slack-ruby-bot
INSTALL
IMPORT
SIG · SLACK-RUBY-BOT
S
slack-ruby-bot
messagingrubyv0.16.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

SlackRubyBot
require 'slack-ruby-bot'

Create a simple Slack bot that responds to 'hello'.

require 'slack-ruby-bot' class MyBot < SlackRubyBot::Bot command 'hello' do |client, data, match| client.say(text: 'Hi there!', channel: data.channel) end end MyBot.run
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.16.1latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
29 hits · last 30 days
node
26
OpenAI (training)
1
Resources
slack-ruby-bot — gem install slack-ruby-bot · libregistry