mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-16 03:23:29 +01:00
Better emoji checking
This commit is contained in:
@@ -255,8 +255,7 @@ class Activity {
|
|||||||
this.url === activity.url &&
|
this.url === activity.url &&
|
||||||
this.state === activity.state &&
|
this.state === activity.state &&
|
||||||
this.details === activity.details &&
|
this.details === activity.details &&
|
||||||
this.emoji?.id === activity.emoji?.id &&
|
(this.emoji?.id ? this.emoji.id === activity.emoji?.id : this.emoji?.name === activity.emoji?.name))
|
||||||
this.emoji?.name === activity.emoji?.name)
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user