Simple bot in Python