Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Command ¶
type Command struct { Re *regexp.Regexp Handler CommandHandler Description string Example string CaseInSense bool }
Command Command
type CommandHandler ¶
type CommandHandler func(*discordgo.Session, *discordgo.MessageCreate)
CommandHandler CommandHandler
type CommandSet ¶
CommandSet CommandSet
func CreateCommandSet ¶
func CreateCommandSet(prefixRe *regexp.Regexp) *CommandSet
CreateCommandSet CreateCommandSet
func (*CommandSet) AddCommand ¶
func (cs *CommandSet) AddCommand(com Command) error
AddCommand AddCommand
func (*CommandSet) Handler ¶
func (cs *CommandSet) Handler(s *discordgo.Session, m *discordgo.MessageCreate)
Handler Handler
Click to show internal directories.
Click to hide internal directories.