Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NewRing = cmdutil.Commands{ Name: "newring", Description: "Creates a new ring.", Options: []*discordgo.ApplicationCommandOption{ { Type: discordgo.ApplicationCommandOptionString, Name: "name", Description: "The FULL NAME of the ring.", Required: true, }, { Type: discordgo.ApplicationCommandOptionString, Name: "description", Description: "Provide a short and brief description of the ring.", Required: true, }, { Type: discordgo.ApplicationCommandOptionRole, Name: "role", Description: "The role to assign to the ring. If not provided, a role will automatically be created.", Required: false, }, }, Handler: newRingHandler, Permissions: discordgo.PermissionAdministrator, }
View Source
var Rings = cmdutil.Commands{
Name: "rings",
Description: "View the rings available to be awarded to players.",
Handler: ringsHandler,
}
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.