mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-18 20:43:30 +01:00
@@ -12,7 +12,7 @@ class PresenceStore extends DataStore {
|
|||||||
|
|
||||||
add(data, cache) {
|
add(data, cache) {
|
||||||
const existing = this.get(data.user.id);
|
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