discore.js
Version:
Discord.js-based powerful node.js module to interact with Discord API.
19 lines (16 loc) • 415 B
JavaScript
const Base = require('./Base');
const defaultOptions = {};
/**
* @extends {Base}
*/
module.exports = class Trigger extends Base {
constructor(client, store, fullpath, options = {}) {
super(client, store, 'trigger', fullpath, options);
/**
* @name Trigger#_options
* @type {Object}
* @private
*/
this._options = { ...defaultOptions, ...this._options };
}
};