mirror of
https://github.com/danbulant/discord.js
synced 2026-07-08 04:31:05 +00:00
parent
e2ceea65ba
commit
b7e61f21ca
1 changed files with 1 additions and 1 deletions
|
|
@ -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 });
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue