Command Wont Go Away

For some reason my command was listed twice in the command list. So I deleted the command from my bot, then restarted it. Now one of them was deleted, but the other is still there. How can I delete the command?
3 Replies
d.js toolkit
d.js toolkit11mo 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 docs11mo 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: [] })
skeddles
skeddlesOP11mo ago
ah yeah i think one was a global command. but i ran that code, and it seemed to be successful, but the command still appears. does it take a while to disappear? oh nvm, was using the wrong token thanks @Mark!
Want results from more Discord servers?
Add your server