![]() |
il y a 11 mois | |
---|---|---|
.gitignore | il y a 4 ans | |
LICENSE | il y a 4 ans | |
README.md | il y a 3 ans | |
config.json.example | il y a 4 ans | |
index.js | il y a 4 ans | |
package-lock.json | il y a 11 mois | |
package.json | il y a 4 ans |
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!