Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Command = &discordgo.ApplicationCommand{ Type: discordgo.ChatApplicationCommand, Name: "user", Description: "Perform CRUD operations", Options: []*discordgo.ApplicationCommandOption{ create.SubCommand, read.SubCommand, update.SubCommand, delete.SubCommand, }, }
View Source
var Routing = router.Command{ create.SubCommand.Name: create.Run, read.SubCommand.Name: read.Run, update.SubCommand.Name: update.Run, delete.SubCommand.Name: delete.Run, }
Functions ¶
func Router ¶
func Router(subcommand []*discordgo.ApplicationCommandInteractionDataOption) (*discordgo.InteractionResponse, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.