So in my python IRC bot I get raw messages from IRC that look like this

> 
> :testuser!testuser@testuser.tmi.twitch.tv PRIVMSG #channel :Kappa
> 
> 
> 

I only want my bot to display the username, channel and the message. How can I filter the data so that I only see this?