the commands are duplicated
why do I have the same commands duplicated? and these duplicates do not work, it gives an integration error
7 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 OPIf you have duplicate commands on your server, you registered both global and guild commands.
You can remove the duplicates by resetting either the global or guild commands
- Resetting global commands:
rest.put(Routes.applicationCommands(clientId), { body: [] })
- Resetting guild commands: rest.put(Routes.applicationGuildCommands(clientId, guildId), { body: [] })
@Jô 🌈🦄 thanks, everything is gone and the integrations have been updated, but now the commands are not available in the chat
Unknown User•5mo ago
Message Not Public
Sign In & Join Server To View
I did it, the commands reappeared in the integration list, but they are not available in the chat. After all, this is done using
rest.put()
?Unknown User•5mo ago
Message Not Public
Sign In & Join Server To View
thank u so much