Slash Problems

Hello, I am coding a bot in discord.js, but I encounter a problem like this, the slash commands that I have previously used in the bot appear in discord, how can I remove them?
No description
3 Replies
d.js toolkit
d.js toolkitβ€’3mo 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!
d.js docs
d.js docsβ€’3mo 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: [] })
CHIMKEN NUGGLES πŸˆπŸ—
Ctrl+r to reload discord, if you haven’t

Did you find this page helpful?