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
No description
No description
5 Replies
d.js toolkit
d.js toolkitβ€’7mo ago
- 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
treble/luna
treble/lunaβ€’7mo ago
First of all, dont deploy your commands every time your bot starts. Make a separate script using REST
d.js docs
d.js docsβ€’7mo ago
:guide: Creating Your Bot: Registering slash commands read more
treble/luna
treble/lunaβ€’7mo ago
And make sure the guild id matches that of the one where your bot is in

Did you find this page helpful?