EventInterface

EventInterface<V extends keyof ClientEvents, T = unknown> -> Interface

  • name: event name;

  • once: if the event will only fire once;

  • callback: function executed when the event is fired;

  • run: function executed when the event is fired;

  • fire function executed when the event is fired;

  • execute: function executed when the event is fired;

  • emit: function executed when the event is fired;

Last updated

Was this helpful?