Class ReactionCollector

A collector that collects reactions on messages

Hierarchy

Constructors

Properties

boundItemReceiver: ((entry) => Promise<boolean>) = ...

Type declaration

    • (entry): Promise<boolean>
    • Bound function for item receiving

      Parameters

      Returns Promise<boolean>

client: Client
emitter: TypedEventEmitter<CollectorEvents<MessageReaction>> = ...
entries: Collection<string, MessageReaction> = ...

Collection of successfully collected entries

isActive: boolean = false

Whether the collector is actively collecting elements

maxTimeout: null | Timeout = null

Timeout for max time

resolve: null | ((value) => void) = null

Method to resolve the promise this collector has when instantiated

Methods

Generated using TypeDoc