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
No description
16 Replies
d.js toolkit
d.js toolkit3mo 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! - Marked as resolved by OP
3v.
3v.OP3mo ago
and it will never update my slash commands https://i.imgur.com/df52J2K.gif
Imgur
space
space3mo ago
Can you add a response and restDebug listener as well?
3v.
3v.OP3mo ago
like this?
No description
3v.
3v.OP3mo ago
he answers me with "undefined"
No description
space
space3mo ago
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
3v.
3v.OP3mo ago
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?
No description
space
space3mo ago
Yeah, it was just 30 seconds left anyway (by now long gone)
3v.
3v.OP3mo ago
yep but - when I try again there is the same message
space
space3mo ago
Again 30 seconds? You might want to checkout the request and response from the other event, maybe the response body contains more info
3v.
3v.OP3mo ago
Here is the entire message if that helps:
3v.
3v.OP3mo ago
space
space3mo ago
Can you log await response.text()?
3v.
3v.OP3mo ago
i think im ratelimit :
No description
space
space3mo ago
Yeah, you are Weird that it says 30 seconds though
3v.
3v.OP3mo ago
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
Want results from more Discord servers?
Add your server