Preview environment

class PresenceManager

export class PresenceManager extends CachedManager<Snowflake, Presence, PresenceResolvable>

Manages API methods for Presences and holds 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

resolve() : Presence | null

Resolves a PresenceResolvable to a Presence object.

resolveId() : Snowflake | null

Resolves a PresenceResolvable to a Presence id.

valueOf() : Collection<Key, Holds>

Inherited from: DataManager