mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-22 05:04:58 +05:00
18 lines
No EOL
386 B
JavaScript
18 lines
No EOL
386 B
JavaScript
class BaseCommand {
|
|
constructor(options) {
|
|
/**
|
|
* @type {import("@discordjs/builders").SlashCommandBuilder | import("discord.js").ApplicationCommandData}
|
|
*/
|
|
this.command = options.command;
|
|
/**
|
|
* @type {Array<String>}
|
|
*/
|
|
this.aliases = options.aliases;
|
|
/**
|
|
* @type {Boolean}
|
|
*/
|
|
this.guildOnly = options.guildOnly || true;
|
|
}
|
|
}
|
|
|
|
module.exports = BaseCommand; |