utility.lookupinvite: rearrange

This commit is contained in:
Cynthia Foxwell 2023-05-29 20:35:40 -06:00
parent 4765381255
commit d697268746

View file

@ -581,6 +581,7 @@ lookupinvite.callback = async function (msg, line) {
value: `${STATUS_ICONS.offline}${invite.approximate_member_count} members`, value: `${STATUS_ICONS.offline}${invite.approximate_member_count} members`,
inline: true, inline: true,
}, },
expires,
invite.channel.name != null && { invite.channel.name != null && {
name: "Recipients", name: "Recipients",
value: invite.channel.recipients value: invite.channel.recipients
@ -588,7 +589,6 @@ lookupinvite.callback = async function (msg, line) {
.join(", "), .join(", "),
inline: false, inline: false,
}, },
expires,
inviter, inviter,
].filter((x) => !!x) ].filter((x) => !!x)
); );