mirror of
https://github.com/LetUsFlow/Discord-Command-Deletor.git
synced 2026-05-03 02:56:30 +02:00
Delete Discord application commands (for some reason there is no easier way to do this?!)
- TypeScript 100%
| .env.example | ||
| .gitignore | ||
| bun.lock | ||
| LICENSE | ||
| main.ts | ||
| package.json | ||
| README.md | ||
Discord-Command-Deletor
Easily delete old Discord application commands.
Usage
- Clone or download the repo
git clone https://github.com/LetUsFlow/Discord-Command-Deletor.git
- Install dependencies with Bun
bun install
- Configure the application by creating a .env file in the root directory of the project or add these as enviroment variables in your terminal. This file should contain the following environment variables:
- DISCORD_TOKEN: Your Discord bot token.
- CLIENT_ID: The client ID of your Discord application.
DISCORD_TOKEN=...
CLIENT_ID=...
- Delete the reigstered commands
bun start
All global application commands and all guild-specific commands for every guild the bot is currently joined will be deleted. Note, that deleting the commands may take some time (several seconds or more depending on the number of registered commands).
License
ISC