Skip to content

About A Code that allows you to get Rainbow Roles using a Discord Bot

License

Notifications You must be signed in to change notification settings

Shxnkii/Color-role

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Colorrole

A Code that allows you to get Rainbow Roles using a Discord Bot

Usage :

  1. Fork this Repository
  2. Clone it to replit
  3. Create a Discord Bot on the Discord Developer Portal
  4. Put your token inside Secrets with the key as TOKEN and value as your bot token.
  5. Open config.json
  6. Add your Server ID and Role Name
  7. Configure the speed (60000 Recommended)
  8. Invite the Discord Bot to your Server
  9. Put your bot's role above the role you want to change it's color from
  10. Run the repl
  11. Open the package.json file and change the discord.js version to 12.1.0
  12. Run the repl again
  13. Host it on uptimerobot.com to make your Discord Bot 24/7 Online.

Config :

Option Usage
token Your Discord Bot Token
servers Your Discord 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 the colors need to change (in ms)
logging If you want to log when the color has changed in the console

Attention!

DO NOT GIVE YOUR BOT TOKEN TO OTHERS!

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


If you have any doubts regarding this, feel free to contact me through my Discord Server.


⭐ Feel free to Star the Repository if this helped you! ;)


Colorcord © 2022 by Shankii is licensed under Attribution 4.0 International

About

About A Code that allows you to get Rainbow Roles using a Discord Bot

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published