Irc bot in Python