mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-14 18:43:31 +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.id === this.id &&
|
||||||
other.name === this.name &&
|
other.name === this.name &&
|
||||||
other.managed === this.managed &&
|
other.managed === this.managed &&
|
||||||
|
other.available === this.available &&
|
||||||
other.requiresColons === this.requiresColons &&
|
other.requiresColons === this.requiresColons &&
|
||||||
other.roles.cache.size === this.roles.cache.size &&
|
other.roles.cache.size === this.roles.cache.size &&
|
||||||
other.roles.cache.every(role => this.roles.cache.has(role.id))
|
other.roles.cache.every(role => this.roles.cache.has(role.id))
|
||||||
|
|||||||
Reference in New Issue
Block a user