Skip to content

Commit

Permalink
fix(member): use global name in display name
Browse files Browse the repository at this point in the history
fixes #573
  • Loading branch information
Snazzah committed Jan 16, 2024
1 parent 6e90d79 commit 8a42340
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/structures/resolvedMember.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export class ResolvedMember {

/** The display name for this member. */
get displayName() {
return this.nick || this.user.username;
return this.user.globalName || this.user.username;
}

/** The URL to the member's avatar. */
Expand Down

0 comments on commit 8a42340

Please sign in to comment.