Message

class wsirc.message.Message(msg)

Representation for a single IRC message.

msg

Parsed dictionary if IRC message elements. Includes: nick, user, host, command, params

A potential link detected in the message, otherwise None.

Local reference to the copiled link regex used.

tags

A dictionary representing the IRCv3 tags.

chat

The chat message sent to the channel.

name

the name of the sender of the message to the channel.

Triggers the regex detection of any links in the chat message.

This usually takes place if there is a chat message.

Returns: True if there is a link detected.

parse()

Triggers the parsing of the message string.

This usually takes place during construction.