How to grab messages when using tags (Python)

So what I got now is

CHAT_MSG = re.compile(r"^:\w+!\w+@\w+\.tmi\.twitch\.tv PRIVMSG #\w+ :")

This worked with non tags, but now with the tags how can I grab the messages? I also want to grab if he is a mod or not, broadcaster etc.

How can I do that?

I have practical no experience with python, but I have coded C# and PHP before.

// Jove

Here’s one way to parse an IRCv3 message:

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.