Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Argument ¶
type Argument struct {
// contains filtered or unexported fields
}
func (*Argument) GetNumeric ¶
type CommandOptions ¶
type Middleware ¶
type Middleware struct {
// contains filtered or unexported fields
}
func (*Middleware) FilterBotMessages ¶
func (h *Middleware) FilterBotMessages(evt interface{}) interface{}
FilterBotMessage doesn't bypass on messages from bots
func (*Middleware) FilterCommand ¶
func (h *Middleware) FilterCommand(commandOptions CommandOptions) func(evt interface{}) interface{}
FilterCommand checks if a message begins with a prefix and if one of the command aliases exists after the prefix
Click to show internal directories.
Click to hide internal directories.