fix(GuildEmoji): check for cahnges to available in equals (#5201)

This commit is contained in:
ckohen
2021-01-22 10:18:06 -08:00
committed by GitHub
parent 0d5de4333d
commit f95f5dcd79

View File

@@ -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))