Awesome
slack-rekarma
Slack user karma based on reactions.
Usage
From a slack channel type /rekarma
. The full user karma list will be shown inline (visible just to you).
Integration
- Go to Apps and Integrations.
- Click on the to right button Build your own.
- Click on Make a custom integration
- Click on Slash Commands.
- Command:
/rekarma
- Update the following info:
- URL:
http://YOUR-DOMAIN/rekarma
- Method:
GET
Developing
# Install python dependencies
$ pip install -r requirements.txt
# Set environment variables
$ export SREK_SLAK_API_KEY="YOUR-SLACK-API-KEY-HERE"
$ export REDIS_URL="YOUR-REDIS-URL"
# Start the flask web server
$ python runserver.py
# Start the rq worker
$ python worker.py
Deploy to Heroku
- Remember to set the
SREK_SLAK_API_KEY
environment variable in your heroku app using the heroku cli. - You will also need to install and enable a redis addon, redistogo or heroku-redis should work.