IRC bot in Python