const {
deleteSlashcommand,
Slash,
} = require('@mxgnus/slashcommands.js');
new Slash(bot /* your discord.js client */); // initialize the slash command
deleteSlashcommand({
name: 'command name',
});
const {
deleteSlashcommand,
Slash,
} = require('@mxgnus/slashcommands.js');
new Slash(bot /* your discord.js client */); // initialize the slash command
deleteSlashcommand({
id: 'command id',
});
const {
deleteAllSlashcommands,
Slash,
} = require('@mxgnus/slashcommands.js');
new Slash(bot /* your discord.js client */); // initialize the slash command
deleteAllSlashcommands()