Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotCommand = errors.New("not a command")
Functions ¶
func HandleMessages ¶
HandleMessages is the function that intercepts channel (or private) messages and handles them
func RequestReply ¶
func RequestReply(c *irc.Connection, eventcode, command string) (string, error)
RequestReply abstracts sending a command to the IRC server and listening for a reply. Eventcodes must match the commands. See https://www.alien.net.au/irc/irc2numerics.html
Types ¶
Click to show internal directories.
Click to hide internal directories.