https://github.com/cblavier/batonrouge
A slack command to give "batons rouges" to your teammates
https://github.com/cblavier/batonrouge
Last synced: 11 months ago
JSON representation
A slack command to give "batons rouges" to your teammates
- Host: GitHub
- URL: https://github.com/cblavier/batonrouge
- Owner: cblavier
- License: mit
- Created: 2015-02-17T19:06:17.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-02-25T14:04:40.000Z (over 11 years ago)
- Last Synced: 2025-04-09T16:55:43.701Z (about 1 year ago)
- Language: Ruby
- Homepage:
- Size: 211 KB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# :heavy_exclamation_mark: Baton Rouge :heavy_exclamation_mark:
[](https://travis-ci.org/cblavier/batonrouge) [](https://codeclimate.com/github/cblavier/batonrouge) [](https://codeclimate.com/github/cblavier/batonrouge)
A slack command to give "batons rouges" to your teammates. In our situation we award each others with baton rouges after any awful joke!
## User guide
On slack, use `/batonrouge help` command to get started.
## Technical part
batonrouge is a Sinatra app that runs seamlessly on Heroku (just add any Redis addon to you app)
You need to set following environment variables :
- REDIS_URL: uri to your redis instance
- SLACK_CHANNEL: channel where bot will print teammates scores
- SLACK_INCOMING_WEBHOOK: the webhook the bot will use to speak on Slack (configure in Slack integrations)
- SLACK_OUTGOING_TOKEN: the token passed by slack command to your app
- SLACK_API_TOKEN: a different token, used to fetch team members using Slack web API
You also need to configure a slack command (in Slack integrations) that will post to your app (on '/')