3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-07-10 12:37:19 +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`); otherStats.push(`Roles: **${thisServer.roles.cache.size}** / 250`);
} }
const roleLockedEmojis = ( const roleLockedEmojis =
restGuild (restGuild
? restGuild?.emojis?.cache.filter((e) => e.roles.cache.size) ? restGuild?.emojis?.cache.filter((e) => e.roles.cache.size)
: guildPreview?.emojis.filter((e) => e.roles.length) : guildPreview?.emojis.filter((e) => e.roles.length)
)!.size; )?.size ?? 0;
if (restGuild) { if (restGuild) {
const maxEmojis = const maxEmojis =