IRC bot in python