Skip to content
Snippets Groups Projects
DeleteCollection.js 527 B
Newer Older
const {SlashCommandBuilder} = require('@discordjs/builders');

const locale = require('../util/locale');

module.exports = (loc) => {
    const commandLocale = locale.get(loc).slashCommands.delete_collection;
    return new SlashCommandBuilder()
        .setName('delete_collection')
        .setDescription(commandLocale.description)
        .addChannelOption( (option) =>
        option.setName('collection_category')
            .setDescription(commandLocale.collectionCategoryDescription)
            .setRequired(true));
}