mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
fix(Activity): Fix equals() not checking for differing emoji (v13) (#8842)
Co-authored-by: Jaworek <jaworekwiadomosci@gmail.com>
This commit is contained in:
@@ -292,7 +292,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)
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user