unable to delete slash commands

like i originally had a different code now i am using that same bot for another code but previous slash commands aint getting deleted im running this script but new commands got registerd so now its all a mess https://pastebin.com/QJt1Q2zR
Pastebin
const { REST, Routes } = require('discord.js');const fs = require('...
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
3 Replies
d.js toolkit
d.js toolkit3mo 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
treble/luna
treble/luna3mo ago
you do not need that delete call im pretty sure i told you that befoer PUT overrides all commands you do have to refresh your discord client
Cloud
CloudOP3mo ago
); oh
Want results from more Discord servers?
Add your server