#My bot keeps asking for a specific Permission even though I never declared it in my code.
5 messages · Page 1 of 1 (latest)
Did you try console.log(command.botPermissions) in that messageCreate to narrow the issue down?
Right, I should also add that the bot works fine on my computer. But it's only on the host where I get that issue
Did you maybe forget to upload changes made to one of your files? Or have pm2 using old cached files instead of the new ones?
Changes I make locally are uploaded to my VPS automatically when I comit the changes on Github Desktop. GitHub Actions takes care of that, then launches PM2.