new Presences
src/collections/presences.ts:27new Presences(client: ShardClient, options?: boolean | PresencesOptions)Presences Collection
import { Collections } from 'detritus-client';
Collections.Presences;new Presences(client: ShardClient, options?: boolean | PresencesOptions)_indexGuildId(guildId: string, userId: string): void_unindex(key: string, presence: Presence): void_unindexGuildId(guildId: string, userId: string): voidclear(): voidclearGuildId(guildId: string): voidRemoves the guild from every cached presence, deleting the presences left without one
delete(key: string): booleandeleteGuildId(userId: string, guildId: string): booleanRemoves a guild from a user's cached presence (like when they leave it), deleting the presence once it has no guild left
insert(value: RawPresence): Presenceset(key: string, value: Presence): thissetEnabled(value: boolean): void