Interfaceseedcordv0.14.0
interface DefaultConfirmOptions extends ConfirmOptionsinterface DefaultConfirmOptions extends ConfirmOptionsconfirmStyle: ButtonStyle;confirmStyle: ButtonStyle;Default:Danger
- optional
ephemeral
Whether the prompt is ephemeral. Only the invoking user can act on it either way, a non-invoker's click is ignored.
- optional
onCancel
Shown in place of the prompt when the user cancels. Absent removes the prompt.
Inherited from:ConfirmOptions
- optional
onConfirm
Shown in place of the prompt when the user confirms. Absent removes the prompt.
Inherited from:ConfirmOptions
- optional
onTimeout
Shown in place of the prompt when the prompt times out. Absent removes the prompt.
Inherited from:ConfirmOptions
- optional
timeoutMs
Milliseconds to wait for a click before the prompt is settled and the result resolves to falsefalse.