Event - shysolocup/noscord.js GitHub Wiki

class for blank events

events are stored in Client.events


AeplSubClass

JS
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);

Properties

Methods

🛈 listeners

🛈 listen()

🛈 fire()


⚠️ **GitHub.com Fallback** ⚠️