Problem with my slash-commands.js
Why am I getting this error (
DiscordAPIError[20012]: You are not authorized to perform this action on this application
) while running slash-commands.js?
slash-commands.js:
3 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!This error usually happens when you use the id of another application.
i.e. The token does not belong to the id you provided.
thx