Skip to content

Instantly share code, notes, and snippets.

View Justman100's full-sized avatar

Justman100

  • Germany
  • 06:46 (UTC +02:00)
View GitHub Profile
@Justman100
Justman100 / clear-commands.js
Created February 16, 2025 17:12
Clears/Deletes all registered commands by a Discord bot app
#!/usr/bin/env node
import { REST, Routes } from "discord.js";
import chalk from "chalk";
import ora from "ora";
import readline from "readline";
import { argv } from "process";
class CommandCleaner {
constructor(token) {