Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var SubCommand = &discordgo.ApplicationCommandOption{ Type: discordgo.ApplicationCommandOptionSubCommand, Name: "create", Description: "Create", Options: []*discordgo.ApplicationCommandOption{ { Type: discordgo.ApplicationCommandOptionString, Name: "name", Description: "Name which must be unique", Required: true, }, { Type: discordgo.ApplicationCommandOptionString, Name: "role", Description: "Role which can be: administrator, moderator or contributor", Required: true, }, }, }
Functions ¶
func Run ¶
func Run(options []*discordgo.ApplicationCommandInteractionDataOption) (*discordgo.InteractionResponse, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.