IRC chat bot in python