Properly extend the bot in events