Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Message ¶
type Message struct { Name string // contains filtered or unexported fields }
func NewMessageCommand ¶
func NewMessageCommand(name string, handler MessageHandler, debug bool) *Message
NewMessageCommand Message.Name should be passed with prefix
type MessageHandler ¶
type Slash ¶
type Slash struct { *discordgo.ApplicationCommand // contains filtered or unexported fields }
func NewSlashCommand ¶
func NewSlashCommand( command *discordgo.ApplicationCommand, handler slashHandler, debug bool, ) *Slash
func (*Slash) RegisterCommand ¶
RegisterCommand TODO: Handle errors
Click to show internal directories.
Click to hide internal directories.