Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterCommands ¶
func RegisterCommands(guildId string)
Types ¶
type CmdHandler ¶
type CmdHandler func(*discordgo.Session, *discordgo.InteractionCreate)
func GetCommandHandler ¶
func GetCommandHandler(commandName string) CmdHandler
type CommandHandler ¶
type CommandHandler func(*parser.MessageParser) error
type CommandPair ¶
type CommandPair struct { Name string Command CommandHandler }
Click to show internal directories.
Click to hide internal directories.