From 53238bb482236d790d6d760a1715f10e5999199f Mon Sep 17 00:00:00 2001 From: Liy Date: Mon, 12 Feb 2024 22:02:49 -0300 Subject: [PATCH] fix: joinedAt --- packages/darkcord/src/resources/Member.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/darkcord/src/resources/Member.ts b/packages/darkcord/src/resources/Member.ts index d8ec5e2..fca291f 100644 --- a/packages/darkcord/src/resources/Member.ts +++ b/packages/darkcord/src/resources/Member.ts @@ -96,7 +96,7 @@ export class Member extends Base { * When the user joined the guild */ get joinedAt(): number | null { - return this.rawData.joinedAt ? Date.parse(this.rawData.joinedAt) : null; + return this.rawData.joinedAt ?? null; } /**