mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-13 10:03:31 +01:00
prevent further user inaccuracies
This commit is contained in:
@@ -46,7 +46,7 @@ class PresenceUpdateHandler extends AbstractHandler {
|
||||
|
||||
if (!same) {
|
||||
const oldUser = cloneObject(user);
|
||||
user.setup(data.user);
|
||||
user.patch(data.user);
|
||||
client.emit(Constants.Events.PRESENCE_UPDATE, oldUser, user);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user