default: {
    elevated: boolean;
    event: string;
    handler: ((interaction: Interaction<CacheType>) => Promise<void>);
}

Event object for handling the Button presses of a timetable

Type declaration

  • elevated: boolean
  • event: string
  • handler: ((interaction: Interaction<CacheType>) => Promise<void>)
      • (interaction: Interaction<CacheType>): Promise<void>
      • The handler function for the Button interaction

        Parameters

        • interaction: Interaction<CacheType>

          The interaction this was called for

        Returns Promise<void>

Generated using TypeDoc