rollback yes

This commit is contained in:
NoLogicAlan committed 2026-04-17 00:01:52 +03:00
1 parent 73c290e59c
commit f402237ad3
9 files changed
+506 -189

No files matched your search

+4
View File
@@ -12,6 +12,10 @@ export const command = new CommandBuilder()
// ── User count ────────────────────────────────────────────────────────────────
async function fetchUserCount(client) {
// client.rest is a concept and is not available on @fluxerjs/core.
// Use guild.memberCount (a cached integer Fluxer exposes on every Guild object)
// instead of paginating the REST members endpoint.
// Falls back to 0 per guild if the property is absent so the stat still renders.
try {
let total = 0;
for (const guild of client.guilds.cache.values()) {