Skip to content

AngelAsukii/Discord-Rainbow-Role

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 

Repository files navigation

Discord-Rainbow-Role

Getting a Rainbow Role with a Discord Bot using Discord.JS

Usage:

  1. Install Discord.JS
  2. Get this code
  3. Change config.js

Config:

Option Usage
token Your Discord API token
servers List your server ids here (how to get my server id?)
roleName The name of the role you'd like to automatically change it's color
colors The number of colors that'll be used
speed The speed on which it needs to change (in ms)
logging If you want to log when the color has changed in the console (can be really messy)

Attention!

If you are using a speed that's lower than 60000ms (1 minute) Your bot might get IP-banned!

For permissions, the role from the bot needs to be higher placed than the role you want to change it's color from in the server settings, like this

[Admin]

[BotRole]

[RoleYouWantToChangeItsColorFrom]

[@everyone]

About

Getting a Rainbow Role with a Discord Bot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%