Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cblavier/batonrouge
A slack command to give "batons rouges" to your teammates
https://github.com/cblavier/batonrouge
Last synced: 4 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 (about 10 years ago)
- Default Branch: master
- Last Pushed: 2015-02-25T14:04:40.000Z (almost 10 years ago)
- Last Synced: 2023-03-11T05:48:01.623Z (almost 2 years ago)
- Language: Ruby
- Homepage:
- Size: 211 KB
- Stars: 6
- Watchers: 2
- 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 APIYou also need to configure a slack command (in Slack integrations) that will post to your app (on '/')