const { fetchGuildSlashcommands, Slash, } = require('@mxgnus/slashcommands.js'); new Slash(bot /* your discord.js client */); // initialize the slash command const guildSlashCommands = await fetchGuildSlashcommands({ guildId: 'your guild id' });
Last updated 3 years ago