Interface MessageChannelCollectorOptionsParams<ComponentType, Cached>

Construct a type with the properties of T except for those in type K.

interface MessageChannelCollectorOptionsParams<
    ComponentType extends MessageComponentType,
    Cached extends boolean = boolean,
> {
    componentType?: ComponentType;
    dispose?: boolean;
    filter?: CollectorFilter<
        [
            MappedInteractionTypes<Cached>[ComponentType],
            Collection<string, MappedInteractionTypes<Cached>[ComponentType]>,
        ],
    >;
    idle?: number;
    interactionResponse?: InteractionResponse<boolean>;
    max?: number;
    maxComponents?: number;
    maxUsers?: number;
    message?: null | APIMessage | Message<boolean>;
    time?: number;
}

Type Parameters

Hierarchy (View Summary)

Properties

componentType?: ComponentType
dispose?: boolean
filter?: CollectorFilter<
    [
        MappedInteractionTypes<Cached>[ComponentType],
        Collection<string, MappedInteractionTypes<Cached>[ComponentType]>,
    ],
>
idle?: number
interactionResponse?: InteractionResponse<boolean>
max?: number
maxComponents?: number
maxUsers?: number
message?: null | APIMessage | Message<boolean>
time?: number