Client.on() - shysolocup/noscord.js GitHub Wiki

adds a new listener to a given event(s)

JS
client.on("send", async (ctx) => {       
    console.log(ctx);
});   

Function Sync

Arguments:

  • event(s) String or Array
    all of the events you want to listen to

  • callback Function
    callback ran when the event is fired




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