Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Command ¶
func (*Command) AddCommand ¶
func (Command) GetDescription ¶
func (Command) GetHandler ¶
func (c Command) GetHandler(session *discordgo.Session, interaction *discordgo.InteractionCreate)
func (Command) GetOptions ¶
func (Command) GetOptions() []*discordgo.ApplicationCommandOption
type Registerer ¶
type Registerer struct { commands.Registerer // contains filtered or unexported fields }
func NewRegister ¶
func NewRegister(c *Command) Registerer
NewRegister create a register with a command that must be the help command with others commands registered
func (Registerer) GetCommands ¶
func (h Registerer) GetCommands() []commands.Metadata
Click to show internal directories.
Click to hide internal directories.