Missing Access
Hello, I'm creating a Discord bot for the first time, but when I type node . into the terminal, it says:
Error registering application command: DiscordAPIError[50001]: Missing Access


5 Replies
- What's your exact discord.js
npm list discord.js and node node -v version?
- Not a discord.js issue? Check out #other-js-ts.
- Consider reading #how-to-get-help to improve your question!
- Explain what exactly your issue is.
- Post the full error stack trace, not just the top part!
- Show your code!
- Issue solved? Press the button!discord.js@14.19.2 and node v18.14.1
First of all, dont deploy your commands every time your bot starts. Make a separate script using REST
And make sure the guild id matches that of the one where your bot is in