Module tmi::irc

source ·
Expand description

§IRCv3 Message parser

The entrypoint to this module is IrcMessage.

let msg = tmi::IrcMessage::parse("...");

⚠ This parser is not compliant with the IRCv3 spec! It assumes that it will only ever parse messages sent by Twitch, which means it handles Twitch-specific quirks, but it also means that it’s unlikely to work for IRC messages sent by other servers.

Structs§

Enums§

  • A Twitch IRC command.
  • A parsed tag value.

Functions§

  • Unescape a value according to the escaped characters that Twitch IRC supports.