mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-14 18:43:31 +01:00
fix: Client#userUpdate receiving wrong packet
This commit is contained in:
@@ -8,7 +8,7 @@ class PresenceUpdateAction extends Action {
|
||||
if (!cached) return;
|
||||
|
||||
if (data.user && data.user.username) {
|
||||
if (!cached.equals(data.user)) this.client.actions.UserUpdate.handle(data);
|
||||
if (!cached.equals(data.user)) this.client.actions.UserUpdate.handle(data.user);
|
||||
}
|
||||
|
||||
const guild = this.client.guilds.get(data.guild_id);
|
||||
|
||||
Reference in New Issue
Block a user