Giter VIP home page Giter VIP logo

discord-color-bot's Introduction

Discord Color Bot

Adds colored roles to your discord server.

Work in Progress

Requirements

To run this bot, you will need:

Start

  • Open main.go
  • Change the settings

Commands

All commands start with <<. Enter parameters after a space (see below for examples).

Command Description Parameter(s)
Help Prints a list of all commands
PrintColors https://nayu.moe/colors
NewColor Assign a random color to the current user
NewColor Assign the specified color to the current user ColorName
PreviewColor Post a preview image of the color ColorName

Admin-only commands

Command Description Parameter(s)
NewServer Generate all color roles on this server
AddColorToAllMember Assigns a random color role to all current members
RemoveAllColors Removes all color roles from the server
ReloadColors Add all new colors to your server

Example: <<NewColor ColorName

Adding new Colors

In your config file, you can find a list named “Colors”, where you can add new colors. Afterwards, use the command <<ReloadColors to create the color role(s).

Auto Kick

If you want it, just add your ServerID into AutoKickOnServer

All new members will be kicked after 30 minutes if they do not have at least one additional role (i. e. a role that is not just a color). This is a fix for discord’s autokick because the bot gives each user a role, meaning they won’t be kicked automatically.

Help?

Add me on discord and message me with your problem: Infi#6958

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.