Skip to content

Commit

Permalink
fix: joinedAt
Browse files Browse the repository at this point in the history
  • Loading branch information
liy77 committed Feb 13, 2024
1 parent 89e8a84 commit 53238bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/darkcord/src/resources/Member.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

/**
Expand Down

0 comments on commit 53238bb

Please sign in to comment.