I am currently working on a Discord.JS bot and everything is working fine. I want to improve the code to prevent the bot from crashing and whilst doing so, it turns out the bot