Skip to content

This is a downloadable version of my disco-role discord bot. It changes the color of a certain role either every set amount of milliseconds.

License

Notifications You must be signed in to change notification settings

gavwin/disco-role-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 

Repository files navigation

Disco Role Bot

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.

RUN THIS BOT AT YOUR OWN RISK!

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.

I am not responsible for what happens after you run this bot.

Steps to use bot:

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.

5. Go to the config.json file and configure the bot so it works for your server.

The file looks like this:
{
  "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"]
}
For "token" replace "Bot token goes here" with your bot token from the bot application you created.
For "ms" either keep it at "1500" or change it to whatever speed you like. If you set it to something longer than a minute, you won't have to worry about the Discord API rate limits.
For "roleToDisco" replace it with the role you wawnt to disco.
For "prefix" either change it to whatever you want or keep it.
For "allowedUser" put your discord user ID. If you want another / more user(s) to use it, add their ID's to the array. (replace "(optional) another user id goes here")

6. Run the bot. Open cmd prompt (if on windows), or open terminal (if on linux or mac) and run the command, node Desktop/Bot. It should then say Disco role bot online! Created by i am toast.. If it doesn't say this, try running, cd ~ then run, cd Desktop/Bot, then run, node bot.js. If that does not work, then locate where your Bot folder is and navigate to that folder in terminal / cmd prompt.

7. Go to discord and start the discoing! Just type d!startdisco to start the discoing and d!stopdisco to stop the discoing!

If you have any questions or something went wrong, find me on discord with the username: i am toast#1213 or join:

About

This is a downloadable version of my disco-role discord bot. It changes the color of a certain role either every set amount of milliseconds.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published