Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( CategoryGeneral = dispatch.CommandCategory{ Name: "General", Description: "General bot commands", } CategoryOwner = dispatch.CommandCategory{ Name: "Owner", Description: "Mainanance and other bot-owner commands", } CategoryEconomy = dispatch.CommandCategory{ Name: "Economy", Description: "Gambling and other economy based commands", } CategoryModeration = dispatch.CommandCategory{ Name: "Moderation", Description: "Moderation and guild safety", } CategoryMisc = dispatch.CommandCategory{ Name: "Misc", Description: "Commands that don't fit into other categories", } )
View Source
var CommandHandler *dispatch.CommandHandler
Functions ¶
func InitCommandHandler ¶
func IsGuildBanned ¶
IsGuildBanned returns a boolean of whether the guild is banned or not
func RegisterCommands ¶ added in v1.20.0
Types ¶
Click to show internal directories.
Click to hide internal directories.