Simple irc in python