From e7a765fc232c3825e45fb13e6b42fb8186bcc8c3 Mon Sep 17 00:00:00 2001 From: Ryan Cao <70191398+ryanccn@users.noreply.github.com> Date: Thu, 2 Jun 2022 18:52:01 +0800 Subject: [PATCH] fix online members --- commands.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands.ts b/commands.ts index d6adc75..33c0a10 100644 --- a/commands.ts +++ b/commands.ts @@ -94,7 +94,7 @@ We highly encourage asking authors that opted out to stop doing so. { title: `${mems.length} total members!`, description: `${ - mems.filter((m) => m.presence?.status === 'online').length + mems.filter((m) => m.presence?.status !== 'offline').length } online members`, color: 'GOLD', },