From b06f0fdc33838a5fb56dace251b081bbc7c2155d Mon Sep 17 00:00:00 2001 From: Elysia <71698422+aiko-chan-ai@users.noreply.github.com> Date: Wed, 14 Feb 2024 07:54:37 +0700 Subject: [PATCH] Update ClientPresence.js --- src/structures/ClientPresence.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/structures/ClientPresence.js b/src/structures/ClientPresence.js index 928ff0b..8db4962 100644 --- a/src/structures/ClientPresence.js +++ b/src/structures/ClientPresence.js @@ -45,7 +45,7 @@ class ClientPresence extends Presence { const data = { activities: [], afk: typeof afk === 'boolean' ? afk : false, - since: typeof since === 'number' && !Number.isNaN(since) ? since : null, + since: typeof since === 'number' && !Number.isNaN(since) ? since : 0, status: status ?? this.status, }; if (activities?.length) {