![]() |
11 months ago | |
---|---|---|
.gitignore | 4 years ago | |
LICENSE | 4 years ago | |
README.md | 3 years ago | |
config.json.example | 4 years ago | |
index.js | 4 years ago | |
package-lock.json | 11 months ago | |
package.json | 4 years ago |
A super simple Discord bot that gives and removes your roles when you react to a message.
npm install
.config.json
and configure as detailed below.
|Setting|Description|
|--|--|
|token
|Discord API bot token (found on the developer portal)|
|activity
|Whatever you want your bot to say in the playing status|
|reactions
|An array of all the messages you want to check|
|reactions.messageId
|The is of the message to check|
|reactions.emojiId
|The id of the emoji that the users have to react to|
|reactions.roleId
|The id of the role ot give the users thta react to the message with the selected emoji|
https://discordapp.com/oauth2/authorize?client_id={YOUR BOT ID}scope=bot&permissions=8
.node index.js
.Have a great life!