Code Monkey home page Code Monkey logo

colorcord's Introduction

ColorCord

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!


This Code is from this tutorial. 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 © 2021 by SealedSaucer is licensed under Attribution 4.0 International

colorcord's People

Contributors

sealedsaucer avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.