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