deploy-commands.js stopped working without errors
It takes forever to reload 5 commands
10 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 OPShow your code
1 sec
is same file but message was to big for discord without nitro lol
you dont need to make two put requests to update your commands
huh
I used the default deploy commands from the documentation but it created 2 commands for 1 file
So it was like i had 2 /ping commands that both did the same
and with the delete all commands it was fixed
how does that work?\
there is two endpoints to deploy commands, one that is guild specific, the other one is global. If you at some point deployed commands to a specific guild using
guildApplicationCommands
route and then deployed globally using applicationCommands
route then you would have duplicated commands showing up (on the guild you deployed specifically)Like this?
what do you want to do
you are updating your global commands
if that is what you want
yes