the commands are duplicated

why do I have the same commands duplicated? and these duplicates do not work, it gives an integration error
No description
7 Replies
d.js toolkit
d.js toolkit7d 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
d.js docs
d.js docs7d ago
If 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: [] })
wayne
wayne7d ago
@Jô 🌈🦄 thanks, everything is gone and the integrations have been updated, but now the commands are not available in the chat
Unknown User
Unknown User7d ago
Message Not Public
Sign In & Join Server To View
wayne
wayne7d ago
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
Unknown User7d ago
Message Not Public
Sign In & Join Server To View
wayne
wayne7d ago
thank u so much