userinfo: missed inline and better formatting

This commit is contained in:
Cynthia Foxwell 2024-08-14 15:52:07 -06:00
parent 0926532073
commit 45b402ae38

View file

@ -386,8 +386,9 @@ userinfo.callback = async function (msg, line) {
inline: true,
},
vcBadges?.length > 0 && {
name: `Vencord Donator Badge${vcBadges.length > 1 ? "s" : ""}`,
value: `- ${vcBadges.map(({tooltip, badge}) => `[${tooltip}](${badge})`).join("\n- ")}`,
name: `Vencord Donator Badge${vcBadges.length > 1 ? `s (${vcBadges.length})` : ""}`,
value: vcBadges.map(({tooltip, badge}) => `"[${tooltip}](${badge})"`).join(", "),
inline: true,
},
member?.roles?.length > 0 && {
name: "Roles",