0.07
Low commit activity in last 3 years
No release in over a year
Slack real time messaging adapter for Ruboty
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Development

>= 0
>= 0.28.0

Runtime

 Project Readme

Ruboty::SlackRTM

Slack(real time api) adapter for ruboty.

Installation

Add this line to your application's Gemfile:

gem 'ruboty-slack_rtm'

ENV

  • SLACK_TOKEN: Account's token. get one on https://api.slack.com/web#basics
  • SLACK_EXPOSE_CHANNEL_NAME: if this set to 1, message.to will be channel name instead of id (optional)
  • SLACK_IGNORE_GENERAL: if this set to 1, bot ignores all messages on #general channel (optional)
  • SLACK_GENERAL_NAME: Set general channel name if your Slack changes general name (optional)
  • SLACK_AUTO_RECONNECT: Enable auto reconnect if rtm disconnected by Slack (optional)

This adapter doesn't require a real user account. Using with bot integration's API token is recommended. See: https://api.slack.com/bot-users

Contributing

  1. Fork it ( https://github.com/rosylilly/ruboty-slack_rtm/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request