A base IRC bot in Python