With this project, you will be able to delete all your discord bot commands that are saved in your guild/server.
If you already have a code for your bot, don't worry, it will recreate it and only the desired/created commands will remain.
To use you need to have the latest version of nodejs
Install the project using npm
cd delete-all-slash-commands-discord.js
npm install
If it doesn't work, just install the following dependencies
cd delete-all-slash-commands-discord.js
npm install discord.js
npm install @discordjs/rest
To deploy this project, run
cd delete-all-slash-commands-discord.js
node index.js
Back-end: Node, Discord.js
To run this project, you will need to add the following environment variables to your config.json
clientId
guildId
token
If you have any feedback, please use the github issue system.