Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rosylilly/ruboty-slack_rtm
Slack(real time api) adapter for ruboty.
https://github.com/rosylilly/ruboty-slack_rtm
Last synced: 5 days ago
JSON representation
Slack(real time api) adapter for ruboty.
- Host: GitHub
- URL: https://github.com/rosylilly/ruboty-slack_rtm
- Owner: rosylilly
- License: mit
- Created: 2015-01-19T10:39:13.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2023-03-07T05:28:35.000Z (almost 2 years ago)
- Last Synced: 2024-12-22T13:14:57.413Z (15 days ago)
- Language: Ruby
- Homepage: https://github.com/rosylilly/ruboty-slack_rtm
- Size: 95.7 KB
- Stars: 40
- Watchers: 9
- Forks: 43
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Ruboty::SlackRTM
Slack(real time api) adapter for [ruboty](https://github.com/r7kamura/ruboty).
## Installation
Add this line to your application's Gemfile:
```ruby
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