This is a downloadable version of my "disco-role" discord bot. It changes the color of a certain role at a customizable rate, createing a "disco" effect.
As you may know, there are ratelimits to about everything on discord. Therefore, you could get banned if you are using the bot to update the role too fast.
1. Install the latest version of Node.js on your computer at https://nodejs.org. To check that it is installed open cmd prompt (if on windows), or open terminal (if on linux or mac) and run the command, node -v
. If you get a response simmilar to, v7.4.0
, you are good to go.
2. Install discord.js. Open cmd prompt (if on Windows), or open terminal (if on linux or mac) and run the command, npm install --save discord.js
.
3. Make your bot application. Here is a great guide on how to. It's pretty simple.
4. Download the Bot folder here and extract the zip file to your desktop.
{
"token" : "Discord bot token goes here",
"ms" : 3000,
"roleToDisco" : ["Role to color change goes here", "(optional) another role to disco goes here"],
"prefix" : "d!",
"allowedUsers" : ["your user id goes here", "(optional) another user id goes here"]
}