merged into above statement

This commit is contained in:
byron 2024-04-03 17:32:17 -04:00
parent 23992bd213
commit 521647b4e1

View file

@ -132,11 +132,12 @@ function getGuildCandidates(data: Data) {
for (const emoji of emojis) { for (const emoji of emojis) {
if (emoji.animated === isAnimated) { if (emoji.animated === isAnimated) {
count++; count++;
}
if (emoji.managed === true) { if (emoji.managed === true) {
count--; // twitch emojis do not count towards the limit count--;
} }
} }
}
return count < emojiSlots; return count < emojiSlots;
}).sort((a, b) => a.name.localeCompare(b.name)); }).sort((a, b) => a.name.localeCompare(b.name));
} }