This repository was archived by the owner on Oct 9, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed
src/commands/slash/Information Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -33,9 +33,9 @@ export default class Stats extends BaseCommand {
3333 const totalHubs = await hubs ?. count ( ) ;
3434 const totalNetworkMessages = await originalMessages . count ( ) ;
3535
36- const count : number [ ] = await interaction . client . cluster . fetchClientValues ( 'guilds.cache.size' ) ;
37- const guildCount = count . reduce ( ( p , n ) => p + n , 0 ) ;
38- const memberCount = await interaction . client . cluster . fetchClientValues (
36+ const guildCount : number [ ] =
37+ await interaction . client . cluster . fetchClientValues ( 'guilds.cache.size' ) ;
38+ const memberCount : number [ ] = await interaction . client . cluster . fetchClientValues (
3939 'guilds.cache.reduce((p, n) => p + n.memberCount, 0)' ,
4040 ) ;
4141
@@ -59,17 +59,15 @@ export default class Stats extends BaseCommand {
5959 value : stripIndents `
6060 Up Since: ${ time ( upSince , 'R' ) }
6161 Servers: ${ guildCount }
62- Members: ${ memberCount }
63- ` ,
62+ Members: ${ memberCount . reduce ( ( p , n ) => p + n , 0 ) } ` ,
6463 inline : true ,
6564 } ,
6665 {
6766 name : 'System Stats' ,
6867 value : stripIndents `
6968 OS: Linux
7069 CPU Cores: ${ cpus ( ) . length }
71- RAM Usage: ${ memoryUsed } MB / ${ totalMemory } GB
72- ` ,
70+ RAM Usage: ${ memoryUsed } MB / ${ totalMemory } GB` ,
7371 inline : true ,
7472 } ,
7573 {
You can’t perform that action at this time.
0 commit comments