slack-ruby-bot
slack-ruby-bot copied to clipboard
The easiest way to write a Slack bot in Ruby.
Hi, When trying to rspec test a command such as: ``` command('support', &->(client, data, match){ channel_real_name = client.channels.dig(data.channel, :name) client.say(channel: data.channel, text: "#{channel_real_name} support url: https://url") }) ``` with the...
It's possible that I'm doing something wrong, but I have my aliases working if I don't use any whitespace, but I was hoping to use a two word phrase to...
I noticed that my Bot had problems with ephemeral messages, in particular with unfolding URLs. **How it can be reproduced** 1. bot posts an URL to a channel 2. slackbot...
Hi, Thanks for this project, it's been 9 months since I've been using it for my bot. I am now turning the bot into a Slack app which requires a...
My bot doesn't seem to connect to Slack around 50% of the time when I start it up. I get these lines every time... ``` request: POST https://slack.com/api/rtm.start response: Status...
Hi 👋 I have a scenario where the bot answers with **two** messages and the test is asserting measurements are being taken. In this specific scenario I do not care...
See https://github.com/dblock/slack-ruby-bot/pull/58.
Coming from https://github.com/slack-ruby/slack-ruby-bot/issues/154 It would be nice if some common hooks could be defined alongside command, e.g. : ```ruby class MyBot < SlackRubyBot::Bot command 'ping' do |client, data| client.say(text: 'pong',...
I am using Sinatra and Heroku to run my bot in production. Is there a way to invoke a bot command from a Sinatra action? I have another service that...
If there are multiple matching scan definitions - only one is selected. This is bad because someone may say something that should match multiple scanning rules. In my case matching...