![]() |
преди 11 месеца | |
---|---|---|
.gitignore | преди 4 години | |
LICENSE | преди 4 години | |
README.md | преди 3 години | |
config.json.example | преди 4 години | |
index.js | преди 4 години | |
package-lock.json | преди 11 месеца | |
package.json | преди 4 години |
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!