Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CommandsList = map[string]cmdtypes.Command{ "ping": cmdgeneral.Ping{ Name: "ping", Description: "Check if the bot is alive", Options: []discord.ApplicationCommandOption{}, Category: cmdtypes.CategoryGeneral, }, "get": cmdrules.Get{ Name: "get", Description: "Get the YAML source of a given rule name", Options: []discord.ApplicationCommandOption{ discord.ApplicationCommandOptionString{ Name: "name", Description: "The unique rule name", Required: true, }, }, Category: cmdtypes.CategoryRules, }, }
Functions ¶
func PrepareCommandCreateData ¶
func PrepareCommandCreateData() []discord.ApplicationCommandCreate
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.