mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
@@ -12,7 +12,7 @@ class PresenceStore extends DataStore {
|
||||
|
||||
add(data, cache) {
|
||||
const existing = this.get(data.user.id);
|
||||
return existing ? existing.patch(data) : super.add(data, cache);
|
||||
return existing ? existing.patch(data) : super.add(data, cache, { id: data.user.id });
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user