Fix issue that was causing the bot to crash upon receiving any command