Update bot.py

just some code cleanup