📕
AFKHandler
  • Introduction
  • FAQ
  • Changelog
  • Classes
    • AFKHandler
    • Command
    • SlashCommand
    • Event
    • Feature
  • Methods
    • Commands
    • SlashCommands
    • deleteSlash
    • Events
    • Features
    • load
    • setCooldown
    • time
    • convert
    • convertLong
  • Types
  • AFKHandlerInteraface
  • AFKHandlerOptions
  • CommandInterface
  • SlashCommandInterface
  • EventInterface
  • FeatureInterface
  • CommandHelp
  • (Callbacks)
  • (Utils)
Powered by GitBook
On this page

Was this helpful?

EventInterface

PreviousSlashCommandInterfaceNextFeatureInterface

Last updated 3 years ago

Was this helpful?

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

  • name: ClientEvents keys (keyof);

  • once?: boolean;

  • callback?: <V, T>;

  • run?: <V, T>;

  • fire?:<V, T>;

  • execute?: <V, T>;

  • emit?: <V, T>;

  • 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;

EventCallback
EventCallback
EventCallback
EventCallback
EventCallback