Hey, I've recently got Twitch IRC chat integration working.
Now the problem is: I can receive messages but theire long for example when someone says !join in the Twitch chat:
@color=#FF8400;display-name=Goodfeet;emotes=;mod=0;room-id=36869929;subscriber=0;turbo=0;user-id=36869929;user-type= :email@example.com PRIVMSG #goodfeet :!join
Now, I got it working by checking if the message contains !join, but this doesn't give me the username it's coming from and it also works when someone type for example: '!joinsfhsdfhsfhd' so this is not a good solution either. I also need to get the user's Twitch username (in this case Goodfeet).
How would I get his Twitch username from this string? Is there a way to get it from this string?:
If this isn't possible, how would I go about making a plugin to solve this?