Here’s an example of a message. It happens approx. every 1 in 500+ messages:
@color=#00FF7F;display-name=Baddimes;emotes=;mod=0;subscriber=0;turbo=0;user-id=70822083;user=type= :baddimes!baddimes@baddimes.tmi.twitch.tv PRIVMSG #sodapoppin :lvl18 win bro@color=#FF0000;display-name=MikeAnderson1k;emotes=88:7-14;mod=0;subscriber=0;turbo=0;user-id=32285244;user-type= :mikeanderson1k!mikeanderson1k@mikeanderson1k.tmi.twitch.tv PRIVMSG #sodapoppin :lvl 18 PogChamp
So it is possible for Twitch to send two messages in one like that or? Because monitoring
test = data.match('\r\n').length;
In every message I’m always only getting one occurance/match (even in the double’d up messages) at the end which I typically just remove with
data = data.replace('\r\n', '');