mirror of
https://github.com/danbulant/discord.js
synced 2026-05-25 04:52:22 +00:00
Fix #701
This commit is contained in:
parent
7cb2e8eef7
commit
69f947dfcb
2 changed files with 7 additions and 2 deletions
File diff suppressed because one or more lines are too long
|
|
@ -152,7 +152,12 @@ class User {
|
|||
|
||||
if (equal) {
|
||||
if (user.status) equal = this.status === user.status;
|
||||
if (equal && user.game) equal = this.game === user.game;
|
||||
if (equal && user.game) {
|
||||
equal = this.game &&
|
||||
this.game.name === user.game.name &&
|
||||
this.game.type === user.game.type &&
|
||||
this.game.url === user.game.url;
|
||||
}
|
||||
}
|
||||
|
||||
return equal;
|
||||
|
|
|
|||
Loading…
Reference in a new issue