how to create a bot in python