3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-07-10 04:27:20 +00:00

almeida is a keyboard warrior i s2g

Signed-off-by: GitHub <noreply@github.com>
This commit is contained in:
Tiago R 2023-04-09 19:18:36 +00:00 committed by GitHub
parent ccb28ebc1b
commit aadba8adaa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -194,11 +194,11 @@ export async function getServerInfoEmbed(
otherStats.push(`Roles: **${thisServer.roles.cache.size}** / 250`);
}
const roleLockedEmojis = (
restGuild
const roleLockedEmojis =
(restGuild
? restGuild?.emojis?.cache.filter((e) => e.roles.cache.size)
: guildPreview?.emojis.filter((e) => e.roles.length)
)!.size;
)?.size ?? 0;
if (restGuild) {
const maxEmojis =