Control Discord Roles with Reactions
A bot that assigns roles based on reactions using the discord.js module.
Node.js 10+ is required to run the bot
npm install
The repository contains a file named config.json
that contains configurable details for the role bot.
The file consists of two fields:
The bot will watch the first message in the specified channel. If a reaction is added or removed from this message, the bot will add or remove the corresponding role.
BOT_TOKEN=<insert-bot-token-here> npm start
heroku create
git push heroku master
heroku config:set BOT_TOKEN=<insert-bot-token-here>
heroku ps:scale web=0 worker=1