PresenceManager

export class PresenceManager extends CachedManager<Snowflake, Presence, PresenceResolvable>
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):Presence | null
Resolves a PresenceResolvable to a Presence object.
NameTypeOptionalDescription
presencePresenceResolvableNoThe presence resolvable to resolve
resolveId(presence):Snowflake | null
Resolves a PresenceResolvable to a Presence id.
NameTypeOptionalDescription
presencePresenceResolvableNoThe presence resolvable to resolve
valueOf():Collection<Key, Holds>