From 8a42340274777c26f5ac4a949f92fd9127d05129 Mon Sep 17 00:00:00 2001 From: Snazzah Date: Tue, 16 Jan 2024 17:15:15 -0600 Subject: [PATCH] fix(member): use global name in display name fixes #573 --- src/structures/resolvedMember.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/structures/resolvedMember.ts b/src/structures/resolvedMember.ts index 8075c6af..ab775023 100644 --- a/src/structures/resolvedMember.ts +++ b/src/structures/resolvedMember.ts @@ -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. */