mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-11 09:03:29 +01:00
Fix stacked heartbeats on reconnect and fix documentation
This commit is contained in:
@@ -21,7 +21,7 @@ class PresenceUpdateHandler extends AbstractHandler {
|
||||
const oldUser = cloneObject(user);
|
||||
user.patch(data.user);
|
||||
if (!user.equals(oldUser)) {
|
||||
client.emit(Constants.Events.USER_DETAILS_UPDATE, oldUser, user);
|
||||
client.emit(Constants.Events.USER_UPDATE, oldUser, user);
|
||||
}
|
||||
|
||||
if (guild) {
|
||||
|
||||
Reference in New Issue
Block a user