!server: fix max emoji count not including animated emojis

This commit is contained in:
Dragory 2020-08-05 05:00:45 +03:00
parent 52980a2515
commit a234e18ec3
No known key found for this signature in database
GPG key ID: 5F387BA66DF8AAC1

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}**`);
}