CreateComponentCollectorResult
Signature
export interface CreateComponentCollectorResultPrivate types
UserMatchesTypeAlias
type UserMatches = string | string[] | RegExp;Properties
0No properties.
Methods
4Methods
run<T extends CollectorInteraction = CollectorInteraction>(customId: UserMatches, callback: ComponentCallback<T>): void;stop(reason?: string): void;waitFor<T extends CollectorInteraction = CollectorInteraction>(customId: UserMatches, timeout?: number): Promise<T | null>;resetTimeouts(): void;