Deploy-commands not working
I don't really understand here, it doesn't seem to me to be in ratelimit with the api and the deploy commands
but when I want to deploy my commands - it stays frozen, it lasts a very long time ? :/
the red error is not important, all good
16 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!
- ✅
Marked as resolved by OPand it will never update my slash commands
https://i.imgur.com/df52J2K.gif
Can you add a response and restDebug listener as well?
like this?
he answers me with "undefined"
Looks like the event is being emitted, but not with what you think it does emit
When in doubt (especially during debugging), just log the entire object
And the debug event seems to be called restDebug, not just debug. :shrug:
Better just use the enum
alr, i got a bunch of messages and at the end there's this, it looks like i'm in ratelimit, strange
all I have to do is wait right?
Yeah, it was just 30 seconds left anyway (by now long gone)
yep but - when I try again there is the same message
Again 30 seconds?
You might want to checkout the request and response from the other event, maybe the response body contains more info
Here is the entire message if that helps:
Can you log
await response.text()
?i think im ratelimit :
Yeah, you are
Weird that it says 30 seconds though
yep lol
I'll try again later, I'll let you know if it works
everything works, I was at ratelimit - the slash commands are now deployed 👍
thank you for all your help