mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-17 20:13:30 +01:00
Fix #701
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -152,7 +152,12 @@ class User {
|
|||||||
|
|
||||||
if (equal) {
|
if (equal) {
|
||||||
if (user.status) equal = this.status === user.status;
|
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;
|
return equal;
|
||||||
|
|||||||
Reference in New Issue
Block a user