Added details and docstring formatting to bot.py