We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6305417 commit 44d52bfCopy full SHA for 44d52bf
packages/discord.js/src/structures/Presence.js
@@ -255,8 +255,7 @@ class Activity {
255
this.url === activity.url &&
256
this.state === activity.state &&
257
this.details === activity.details &&
258
- this.emoji?.id === activity.emoji?.id &&
259
- this.emoji?.name === activity.emoji?.name)
+ (this.emoji?.id ? this.emoji.id === activity.emoji?.id : this.emoji?.name === activity.emoji?.name))
260
);
261
}
262
0 commit comments