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
-
link¶ A potential link detected in the message, otherwise None.
-
link_re¶ Local reference to the copiled link regex used.
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.
-
check_for_link()¶ 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.
-