lookupinvite: fix gdm recipients
This commit is contained in:
parent
adf80c3f1a
commit
f0d36959c9
1 changed files with 1 additions and 7 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue