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: 21 days 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 (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-02-25T14:04:40.000Z (over 9 years ago)
- Last Synced: 2023-03-11T05:48:01.623Z (over 1 year 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:
[![Build Status](https://travis-ci.org/cblavier/batonrouge.svg?branch=master)](https://travis-ci.org/cblavier/batonrouge) [![Code Quality](https://codeclimate.com/github/cblavier/batonrouge/badges/gpa.svg?branch=master)](https://codeclimate.com/github/cblavier/batonrouge) [![Coverage Status](https://codeclimate.com/github/cblavier/batonrouge/coverage.svg?branch=master)](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 '/')