From 521647b4e1e7e8b7eb03014c4a951d2aa62e0b36 Mon Sep 17 00:00:00 2001 From: byron <47872200+byeoon@users.noreply.github.com> Date: Wed, 3 Apr 2024 17:32:17 -0400 Subject: [PATCH] merged into above statement --- src/plugins/emoteCloner/index.tsx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/plugins/emoteCloner/index.tsx b/src/plugins/emoteCloner/index.tsx index ea040965c..3976b3991 100644 --- a/src/plugins/emoteCloner/index.tsx +++ b/src/plugins/emoteCloner/index.tsx @@ -132,10 +132,11 @@ function getGuildCandidates(data: Data) { for (const emoji of emojis) { if (emoji.animated === isAnimated) { count++; + if (emoji.managed === true) { + count--; + } } - if (emoji.managed === true) { - count--; // twitch emojis do not count towards the limit - } + } return count < emojiSlots; }).sort((a, b) => a.name.localeCompare(b.name));