cdcommands
Version:
An advanced handler for Discord.js Bots with TypeScript and JavaScript support.
19 lines (16 loc) • 359 B
JavaScript
module.exports = class Feature {
/**
* @private
* @type {(client: import("./CDClient").CDClient) => unknown | Promise<unknown>}
*/
_run;
/**
* @param {(client: import("./CDClient").CDClient) => unknown | Promise<unknown>} run
*/
constructor(run) {
this._run = run;
}
get run() {
return this._run;
}
};