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