discore.js
Version:
Discord.js-based powerful node.js module to interact with Discord API.
16 lines (13 loc) • 415 B
JavaScript
const Event = require('../structures/Event');
module.exports = class extends Event {
get options() {
return { key: 'ready' };
}
run() {
this.client.events.forEach((e) => e._init());
this.client.monitors.forEach((e) => e._init());
this.client.commands.forEach((e) => e._init());
this.client.triggers.forEach((e) => e._init());
this.client.inhibitors.forEach((e) => e._init());
}
};