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:
parent
ccb28ebc1b
commit
aadba8adaa
1 changed files with 3 additions and 3 deletions
|
@ -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 =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue