From f95f5dcd791b39c6a4d60dc8d64b0287e06ed768 Mon Sep 17 00:00:00 2001 From: ckohen Date: Fri, 22 Jan 2021 10:18:06 -0800 Subject: [PATCH] fix(GuildEmoji): check for cahnges to available in equals (#5201) --- src/structures/GuildEmoji.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/structures/GuildEmoji.js b/src/structures/GuildEmoji.js index a4ab2a56db63..f4df468b7ab9 100644 --- a/src/structures/GuildEmoji.js +++ b/src/structures/GuildEmoji.js @@ -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))