Simple python version of privmsg module