From f0d36959c985310eacae0a3734e3cf36ca31105e Mon Sep 17 00:00:00 2001 From: Cynthia Foxwell Date: Thu, 8 Aug 2024 14:48:42 -0600 Subject: [PATCH] lookupinvite: fix gdm recipients --- src/modules/utility/lookupinvite.js | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/modules/utility/lookupinvite.js b/src/modules/utility/lookupinvite.js index 40168a2..c0941d1 100644 --- a/src/modules/utility/lookupinvite.js +++ b/src/modules/utility/lookupinvite.js @@ -185,13 +185,7 @@ lookupinvite.callback = async function (msg, line) { expires, invite.channel.name != null && { name: "Recipients", - value: invite.channel.recipients - .map((member) => - member.global_name - ? `**${member.global_name}** (${formatUsername(member)})` - : `**${formatUsername(member)}**` - ) - .join("\n"), + value: invite.channel.recipients.map((member) => member.username).join("\n"), inline: false, }, inviter,