add bot.py and code update