Preview environment

class ReactionUserManager

export class ReactionUserManager extends CachedManager<Snowflake, User, UserResolvable>

Manages API methods for users who reacted to a reaction and stores their cache.

readonly
cache : Collection<Key, 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

reaction : MessageReaction

The reaction that this manager belongs to

Fetches all the users that gave this reaction. Resolves with a collection of users, mapped by their ids.

Removes a user from this reaction.

resolve(
idOrInstance: Holds
) : Holds

Resolves a data entry to a data Object.

Returns: An instance from this Manager

resolveId(
idOrInstance: Key | Holds
) : Key

Resolves a data entry to an instance id.

valueOf() : Collection<Key, Holds>

Inherited from: DataManager