Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Route ¶
Route holds the route for a command based on the prefix.
func (*Route) CommandHandler ¶
CommandHandler is injected into the CreateMessage event handler to automatically invoke a command.
func (*Route) FindCommand ¶
FindCommand finds if a command exists in a route.
func (*Route) NewCommand ¶
NewCommand adds a command to a route
Click to show internal directories.
Click to hide internal directories.