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,
|
expires,
|
||||||
invite.channel.name != null && {
|
invite.channel.name != null && {
|
||||||
name: "Recipients",
|
name: "Recipients",
|
||||||
value: invite.channel.recipients
|
value: invite.channel.recipients.map((member) => member.username).join("\n"),
|
||||||
.map((member) =>
|
|
||||||
member.global_name
|
|
||||||
? `**${member.global_name}** (${formatUsername(member)})`
|
|
||||||
: `**${formatUsername(member)}**`
|
|
||||||
)
|
|
||||||
.join("\n"),
|
|
||||||
inline: false,
|
inline: false,
|
||||||
},
|
},
|
||||||
inviter,
|
inviter,
|
||||||
|
|
Loading…
Reference in a new issue