mirror of
https://github.com/Vendicated/Vencord.git
synced 2024-09-20 06:30:35 +00:00
merged into above statement
This commit is contained in:
parent
23992bd213
commit
521647b4e1
1 changed files with 4 additions and 3 deletions
|
@ -132,10 +132,11 @@ 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) {
|
||||||
|
count--;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (emoji.managed === true) {
|
|
||||||
count--; // twitch emojis do not count towards the limit
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
return count < emojiSlots;
|
return count < emojiSlots;
|
||||||
}).sort((a, b) => a.name.localeCompare(b.name));
|
}).sort((a, b) => a.name.localeCompare(b.name));
|
||||||
|
|
Loading…
Reference in a new issue