ReactionManager

export class ReactionManager extends CachedManager<Snowflake | string, MessageReaction, MessageReactionResolvable>
export class ReactionManager extends CachedManager<Snowflake | string, MessageReaction, MessageReactionResolvable>
Manages API methods for reactions and holds their cache.
Readonly
cache:Collection<K, Holds>
The cache of items for this manager.
Inherited from DataManager
Readonly
client:Client
The client that instantiated this Manager
Inherited from BaseManager
Readonly
holds:Constructable<Holds>
The data structure belonging to this manager.
Inherited from DataManager
message:Message
The message that this manager belongs to
removeAll():Promise<Message>
Removes all reactions from a message.
resolve(idOrInstance):Holds
Resolves a data entry to a data Object.
Returns
An instance from this Manager
NameTypeOptionalDescription
idOrInstanceHoldsNoThe id or instance of something in this Manager
resolveId(idOrInstance):K
Resolves a data entry to an instance id.
Returns
NameTypeOptionalDescription
idOrInstanceK | HoldsNoThe id or instance of something in this Manager
valueOf():Collection<K, Holds>