Type Parameters

Implements

  • EventContextBuilder<E>

Constructors

  • Creates a new EventContext associated to an Event.

    Type Parameters

    Parameters

    • options: EventContextBuilder<E>

      The options of the EventContext.

    Returns EventContext<E>

Properties

event: E

The event related to this EventContext.

handler: typeof CommandHandler

The CommandHandler.

interactionHandler: typeof InteractionHandler

The InteractionHandler.

Accessors

  • get eventName(): keyof ClientEvents
  • Returns the name of the event associated to this EventContext.

    Returns keyof ClientEvents

Generated using TypeDoc