The issue is your
Which is splitting around the : in https:// of the URL in the example your provided…
You can either fix this so it’s only splitting once, or you need to look at using a “proper” IRC Tokeniser to “more correctly” parse a incoming Raw IRC line. You’ll probably need this anyway, as if you look at doing more complex stuff with Twitch Chat, you’ll enable Commands and Tags. Which’ll include more : in the raw line