How can I delete slash commands?

How can I delete slash commands? I use REST.
3 Replies
d.js docs
d.js docs3y ago
• What's your exact discord.js npm list discord.js and node node -v version? • Post the full error stack trace, not just the top part! • Show your code! • Explain what exactly your issue is. • Not a discord.js issue? Check out #useful-servers.
Parogo_72
Parogo_723y ago
If you want to delete all commands, pass an empty array If you want to delete certain commands, just pass an array with the commands you want to have and the rest should be removed
Fyphen
FyphenOP3y ago
Thank you
Want results from more Discord servers?
Add your server