MaidLucy / Discord-Color-Bot

Adds colored roles to your discord server.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Adds colored roles to your discord server.

License:MIT License


Languages

Language:Go 100.0%