mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 18:57:03 +02:00
fix: more accurate user count
This commit is contained in:
1 parent
debaaccf4c
commit
f5425d0e54
1 file changed
+1
-4
+1
-4
@@ -5,10 +5,7 @@ export default function ready(client: Client<true>) {
|
||||
|
||||
const activities: (() => string)[] = [
|
||||
() => `Living in ${client.guilds.cache.size.toLocaleString()} servers`,
|
||||
() =>
|
||||
`Serving ${client.guilds.cache
|
||||
.reduce((accumulator, guild) => accumulator + guild.memberCount, 0)
|
||||
.toLocaleString()} users`,
|
||||
() => `Serving ${client.users.cache.size.toLocaleString()} users`,
|
||||
() => `Observing ${client.channels.cache.size.toLocaleString()} channels`,
|
||||
];
|
||||
|
||||
|
||||
Reference in new issue
Block a user