discord-color-bot

command module
v0.0.0-...-ad101d5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 29, 2021 License: MIT Imports: 15 Imported by: 0

README

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#8527

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL