Lately, while working on coding a discord bot using discord.js, I came across an issue. Whenever I run my bot on my local machine, all the commands work perfectly fine. However, after committing and pushing the code to GitHub, and then allowing buddy.works to edit the code on my VPS, some of the commands have stopped working. Despite the VPS being in good condition and the pm2 restart command functioning properly, the commands are still not working as expected. Can someone please suggest any fixes for this problem?
Thank you!