Interface: ConfirmOptions
Defined in: structures/Conversation.ts:30
Options for Conversation.confirm.
Extendsβ
Propertiesβ
invalidMessage?β
optionalinvalidMessage?:string
Defined in: structures/Conversation.ts:38
Message sent when the answer isn't recognized.
no?β
optionalno?:string[]
Defined in: structures/Conversation.ts:34
Accepted negative answers. Defaults cover English + Spanish + π/β.
retries?β
optionalretries?:number
Defined in: structures/Conversation.ts:36
How many times to re-ask on an unrecognized answer. Defaults to 1.
signal?β
optionalsignal?:AbortSignal
Defined in: structures/Conversation.ts:26
Abort the wait.
Inherited fromβ
timeoutMs?β
optionaltimeoutMs?:number
Defined in: structures/Conversation.ts:24
Reject if no reply arrives within this many milliseconds.
Inherited fromβ
yes?β
optionalyes?:string[]
Defined in: structures/Conversation.ts:32
Accepted affirmative answers. Defaults cover English + Spanish + π/β .