mirror of
https://github.com/Burn-E99/TheArtificer.git
synced 2026-06-04 09:03:50 -04:00
deno fmt
This commit is contained in:
@@ -123,23 +123,19 @@ Please see attached file for audit details on cached guilds and members.`,
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'Repeat Guild Owners:',
|
name: 'Repeat Guild Owners:',
|
||||||
value:
|
value: repeatCounts
|
||||||
repeatCounts
|
|
||||||
.map((ownerCnt, serverIdx) => `${ownerCnt} ${ownerCnt === 1 ? 'person has' : 'people have'} me in ${serverIdx + 1} of their guilds`)
|
.map((ownerCnt, serverIdx) => `${ownerCnt} ${ownerCnt === 1 ? 'person has' : 'people have'} me in ${serverIdx + 1} of their guilds`)
|
||||||
.filter((str) => str)
|
.filter((str) => str)
|
||||||
.join('\n') || 'No Repeat Guild Owners',
|
.join('\n') || 'No Repeat Guild Owners',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'Guild Size Dist:',
|
name: 'Guild Size Dist:',
|
||||||
value:
|
value: Array.from(guildSizeDist)
|
||||||
Array.from(guildSizeDist)
|
|
||||||
.map(
|
.map(
|
||||||
([size, count], idx) =>
|
([size, count], idx) =>
|
||||||
`${count} Guild${count === 1 ? ' has' : 's have'} ${
|
`${count} Guild${count === 1 ? ' has' : 's have'} ${
|
||||||
guildSizeDist.has(sizeCats[idx - 1])
|
guildSizeDist.has(sizeCats[idx - 1]) ? `${size.toLocaleString()} - ${(sizeCats[idx - 1] - 1).toLocaleString()}` : `at least ${size.toLocaleString()}`
|
||||||
? `${size.toLocaleString()} - ${(sizeCats[idx - 1] - 1).toLocaleString()}`
|
} Member${size === 1 ? '' : 's'}`,
|
||||||
: `at least ${size.toLocaleString()}`
|
|
||||||
} Member${size === 1 ? '' : 's'}`
|
|
||||||
)
|
)
|
||||||
.join('\n') || 'Not available',
|
.join('\n') || 'Not available',
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user