diff --git a/src/commands/auditCmd/auditGuilds.ts b/src/commands/auditCmd/auditGuilds.ts index 1807f01..068cfc1 100644 --- a/src/commands/auditCmd/auditGuilds.ts +++ b/src/commands/auditCmd/auditGuilds.ts @@ -123,25 +123,21 @@ Please see attached file for audit details on cached guilds and members.`, }, { name: 'Repeat Guild Owners:', - value: - repeatCounts - .map((ownerCnt, serverIdx) => `${ownerCnt} ${ownerCnt === 1 ? 'person has' : 'people have'} me in ${serverIdx + 1} of their guilds`) - .filter((str) => str) - .join('\n') || 'No Repeat Guild Owners', + value: repeatCounts + .map((ownerCnt, serverIdx) => `${ownerCnt} ${ownerCnt === 1 ? 'person has' : 'people have'} me in ${serverIdx + 1} of their guilds`) + .filter((str) => str) + .join('\n') || 'No Repeat Guild Owners', }, { name: 'Guild Size Dist:', - value: - Array.from(guildSizeDist) - .map( - ([size, count], idx) => - `${count} Guild${count === 1 ? ' has' : 's have'} ${ - guildSizeDist.has(sizeCats[idx - 1]) - ? `${size.toLocaleString()} - ${(sizeCats[idx - 1] - 1).toLocaleString()}` - : `at least ${size.toLocaleString()}` - } Member${size === 1 ? '' : 's'}` - ) - .join('\n') || 'Not available', + value: Array.from(guildSizeDist) + .map( + ([size, count], idx) => + `${count} Guild${count === 1 ? ' has' : 's have'} ${ + guildSizeDist.has(sizeCats[idx - 1]) ? `${size.toLocaleString()} - ${(sizeCats[idx - 1] - 1).toLocaleString()}` : `at least ${size.toLocaleString()}` + } Member${size === 1 ? '' : 's'}`, + ) + .join('\n') || 'Not available', }, ], },