Type Alias PromptConfirmationOptions<I>
PromptConfirmationOptions: { content?: InteractionReplyOptions & InteractionEditReplyOptions; ephemeral?: boolean; interaction: I; onCancel?: ( interaction: ButtonInteraction< I extends RepliableInteraction<infer C> ? C : CacheType, >, ) => void | Promise<void>; onConfirm?: ( interaction: ButtonInteraction< I extends RepliableInteraction<infer C> ? C : CacheType, >, ) => void | Promise<void>;} Type Parameters
- I extends RepliableInteraction<CacheType>
Type declaration
Optional
content?: InteractionReplyOptions & InteractionEditReplyOptions
Optional
ephemeral?: boolean
interaction: I
Optional
onCancel?: (
interaction: ButtonInteraction<
I extends RepliableInteraction<infer C> ? C : CacheType,
>,
) => void | Promise<void>
Optional
onConfirm?: (
interaction: ButtonInteraction<
I extends RepliableInteraction<infer C> ? C : CacheType,
>,
) => void | Promise<void>