From b6d290d5450443be6ca28dcf2ff9e7c548b814d5 Mon Sep 17 00:00:00 2001 From: March 7th <71698422+aiko-chan-ai@users.noreply.github.com> Date: Sat, 26 Nov 2022 21:51:09 +0700 Subject: [PATCH] fix(Activity): Fix equals() not checking for differing emoji (v13) #8842 djs --- src/structures/Presence.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/structures/Presence.js b/src/structures/Presence.js index eb6e2d0..b9e0c0b 100644 --- a/src/structures/Presence.js +++ b/src/structures/Presence.js @@ -300,7 +300,9 @@ class Activity { this.type === activity.type && this.url === activity.url && this.state === activity.state && - this.details === activity.details) + this.details === activity.details && + this.emoji?.id === activity.emoji?.id && + this.emoji?.name === activity.emoji?.name) ); }