mirror of
https://github.com/JonnyBro/JaBa.git
synced 2025-01-01 16:23:02 +05:00
18 lines
490 B
JavaScript
18 lines
490 B
JavaScript
export default class Command {
|
|
constructor(options) {
|
|
/**
|
|
* @type {import("discord.js").ApplicationCommandData}
|
|
*/
|
|
this.data = options.data;
|
|
/**
|
|
* @type {Boolean}
|
|
*/
|
|
this.ownerOnly = !!options.ownerOnly || false;
|
|
/**
|
|
* @param {import("discord.js").CommandInteraction} [interaction]
|
|
* @param {import('./newClient.js').ExtendedClient} [client]
|
|
* @param {import("discord.js").CommandInteractionOptionResolver} [args]
|
|
*/
|
|
this.execute = function () {};
|
|
}
|
|
}
|