interface InteractionOptions {
    createButtonOptions: Omit<InteractionButtonComponentData, "type" | "disabled" | "customId">;
    forceCloseButtonOptions?: Omit<InteractionButtonComponentData, "type" | "disabled" | "customId">;
    generateInteractionReplyMessage: ((ticket, guild) => string);
    replyButtonOptions: Omit<InteractionButtonComponentData, "type" | "disabled" | "customId">;
}

Properties

createButtonOptions: Omit<InteractionButtonComponentData, "type" | "disabled" | "customId">

The settings of the creation button.

forceCloseButtonOptions?: Omit<InteractionButtonComponentData, "type" | "disabled" | "customId">

The settings of the close button.

generateInteractionReplyMessage: ((ticket, guild) => string)

A function to build the reply message.

Type declaration

    • (ticket, guild): string
    • Parameters

      Returns string

replyButtonOptions: Omit<InteractionButtonComponentData, "type" | "disabled" | "customId">

The settings of the reply button.