Documentation ¶
Overview ¶
Package commands implements the command system for Robot.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Do ¶
func Do(ctx context.Context, br *brain.Brain, lg *log.Logger, send chan<- irc.Message, msg irc.Message, priv, cmd string) string
Do performs the first command appropriate for the message and returns the name of the performed command, or the empty string if none. priv is the privilege level for the user and cmd is the command invocation as parsed by Parse.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.