EventService - shysolocup/noscord.js GitHub Wiki
service class for handling, creating, and storing event-related stuff
|
|
JS |
const { Client } = require('noscord.js');
const client = new Client();
client.import("events");
let event = new events.Event;
client.events.push("example", event);
client.on("example", (a, b) => {
console.log(a, b); // 1 2
});
event.fire(1, 2); |
🛈 list |
🛈 create() |
🛈 Event |
🛈 GlueHandler |