From a234e18ec3c5c2613f5136566cb39077271aef66 Mon Sep 17 00:00:00 2001 From: Dragory <2606411+Dragory@users.noreply.github.com> Date: Wed, 5 Aug 2020 05:00:45 +0300 Subject: [PATCH] !server: fix max emoji count not including animated emojis --- backend/src/plugins/Utility/functions/serverInfo.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/plugins/Utility/functions/serverInfo.ts b/backend/src/plugins/Utility/functions/serverInfo.ts index 3f872700..f515ae8e 100644 --- a/backend/src/plugins/Utility/functions/serverInfo.ts +++ b/backend/src/plugins/Utility/functions/serverInfo.ts @@ -146,7 +146,7 @@ export async function serverInfo(pluginData: PluginData, 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}**`); }