mirror of
https://github.com/danbulant/discord.js
synced 2026-06-07 16:52:16 +00:00
Merge remote-tracking branch 'refs/remotes/origin/master' into indev
# Conflicts: # src/structures/Guild.js
This commit is contained in:
commit
01d032abee
1 changed files with 1 additions and 1 deletions
|
|
@ -615,7 +615,7 @@ class Guild {
|
||||||
if (data.roles) member._roles = data.roles;
|
if (data.roles) member._roles = data.roles;
|
||||||
else member.nickname = data.nick;
|
else member.nickname = data.nick;
|
||||||
|
|
||||||
const notSame = member.nickname !== oldMember.nickname && !arraysEqual(member._roles, oldMember._roles);
|
const notSame = member.nickname !== oldMember.nickname || !arraysEqual(member._roles, oldMember._roles);
|
||||||
|
|
||||||
if (this.client.ws.status === Constants.Status.READY && notSame) {
|
if (this.client.ws.status === Constants.Status.READY && notSame) {
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue