diff --git a/src/cache.ts b/src/cache.ts index b388d29d8..7d51916e6 100644 --- a/src/cache.ts +++ b/src/cache.ts @@ -21,7 +21,7 @@ export const cache = { /** All of the unavailable guilds, mapped by their Ids (id, timestamp) */ unavailableGuilds: new Collection(), /** All of the presence update objects received in PRESENCE_UPDATE gateway event, mapped by their user Id */ - presences: new Collection(), + presences: new Collection([], { sweeper: { filter: () => true, interval: 300000 } }), fetchAllMembersProcessingRequests: new Collection< string, (value: Collection | PromiseLike>) => void