3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-19 16:05:01 +00:00

!server: fix max emoji count not including animated emojis

This commit is contained in:
Dragory 2020-08-05 05:00:45 +03:00
parent 5452f7c4c2
commit fd9002e7e3

View file

@ -146,7 +146,7 @@ export async function serverInfo(pluginData: PluginData<UtilityPluginType>, serv
2: 150,
3: 250,
}[restGuild.premiumTier] || 50;
otherStats.push(`Emojis: **${restGuild.emojis.length}** / ${maxEmojis}`);
otherStats.push(`Emojis: **${restGuild.emojis.length}** / ${maxEmojis * 2}`);
} else {
otherStats.push(`Emojis: **${guildPreview.emojis.length}**`);
}