From 5de71163a04aea81efce3b573c2e5c80a2d066bd Mon Sep 17 00:00:00 2001 From: Behzad Rabiei <53224485+Behzad-rabiei@users.noreply.github.com> Date: Thu, 3 Aug 2023 17:29:47 +0400 Subject: [PATCH] [FEATURE]: add global name to fetch members --- src/functions/fetchMembers.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/functions/fetchMembers.ts b/src/functions/fetchMembers.ts index 73ad6c45..1a42d0c7 100644 --- a/src/functions/fetchMembers.ts +++ b/src/functions/fetchMembers.ts @@ -19,6 +19,7 @@ function getNeedDataFromGuildMember(guildMember: GuildMember): IGuildMember { discriminator: guildMember.user.discriminator, permissions: guildMember.permissions.bitfield.toString(), nickname: guildMember.nickname, + globalName: guildMember.user.globalName }; }