🛠️ Add a reaction for a message event on slack
MIT License
Add a reaction for a precise message on slack
$ npm i
First you must set some env variable
$ export SAAR_API_TOKEN=<token> // Slack token for web api
$ export SAAR_API_DOMAIN=<domain> // Slack domain
$ export SAAR_SLACK_CHANNEL=<channel id> // Channel id
$ export SAAR_SLACK_AIM_USER=<user id> // User id of aimed people
$ export SAAR_SLACK_CURRENT_USER=<user id> // User id of people who react
$ export SAAR_SLACK_REACTION_NAME=<name reaction> // Name of the reaction
You can start it with:
$ npm run start
If you want to develop this tool you can use:
$ npm run dev
You can use docker image build with this Dockerfile
Or you can use the docker-compose example docker-compose.yml