Skip to content

Command to delete all slash commands from a server and bot using discord.js

Notifications You must be signed in to change notification settings

louanfontenele/delete-all-slash-commands-discord.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Discord Slash Command Deleter

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

Installation

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

Deploy

To deploy this project, run

  cd delete-all-slash-commands-discord.js
  node index.js

Used Stack

Back-end: Node, Discord.js

Environment Variables

To run this project, you will need to add the following environment variables to your config.json

clientId

guildId

token

Tags

npm npm npm

Licenses

NPM NPM

References

Feedback

If you have any feedback, please use the github issue system.

Authors

About

Command to delete all slash commands from a server and bot using discord.js

Resources

Stars

Watchers

Forks

Packages

No packages published