Expand description
A module providing a data structure for messages to and from IRC servers.
Structsยง
- Message
- A data structure representing an IRC message according to the protocol specification. It
consists of a collection of IRCv3 tags, a prefix (describing the source of the message), and
the protocol command. If the command is unknown, it is treated as a special raw command that
consists of a collection of arguments and the special suffix argument. Otherwise, the command
is parsed into a more useful form as described in
Command. - Tag
- A message tag as defined by IRCv3.2. It consists of a tag key, and an optional value for the tag. Each message can contain a number of tags (in the string format, they are separated by semicolons). Tags are used to add extended information to a message under IRCv3.