class BaseCommand { constructor(options) { /** * @type {import("@discordjs/builders").SlashCommandBuilder | import("discord.js").ApplicationCommandData} */ this.command = options.command; /** * @type {Array} */ this.aliases = options.aliases; /** * @type {Boolean} */ this.guildOnly = options.guildOnly || true; } } module.exports = BaseCommand;