mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 08:33:30 +01:00
fix(GuildEmoji): check for cahnges to available in equals (#5201)
This commit is contained in:
@@ -150,6 +150,7 @@ class GuildEmoji extends BaseGuildEmoji {
|
||||
other.id === this.id &&
|
||||
other.name === this.name &&
|
||||
other.managed === this.managed &&
|
||||
other.available === this.available &&
|
||||
other.requiresColons === this.requiresColons &&
|
||||
other.roles.cache.size === this.roles.cache.size &&
|
||||
other.roles.cache.every(role => this.roles.cache.has(role.id))
|
||||
|
||||
Reference in New Issue
Block a user