interface AwaitModalSubmitOptions

extends

Omit<ModalSubmitInteractionCollectorOptions<Interaction>, 'max' | 'maxComponents' | 'maxUsers'>
export interface AwaitModalSubmitOptions<Interaction extends ModalSubmitInteraction> extends Omit<ModalSubmitInteractionCollectorOptions<Interaction>, 'max' | 'maxComponents' | 'maxUsers'>

An object containing the same properties as CollectorOptions, but a few less:

Type Parameters

Interaction extends ModalSubmitInteraction

The filter applied to this collector

time : number

Time in milliseconds to wait for an interaction before rejecting