Implemented ping in Bot.py to minimize overhead