error 405 method not allowed
these are my codes ( and the file name is 'register-commands.js' )
so I typed 'node src/register-commands.js' in the terminal,
and it says, 'Debugger attached. registering slash command... There was an error, DiscordAPIError[0]: 405: Method Not Allowed
Waiting for the debugger to disconnect...'
How can I fix it to work?
2 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!Unknown User•2y ago
Message Not Public
Sign In & Join Server To View