userinfo: some cleanup

This commit is contained in:
Cynthia Foxwell 2025-05-15 11:07:19 -06:00
parent 9afb5ef9f5
commit 29f381b18a
Signed by: Cynosphere
SSH key fingerprint: SHA256:H3SM8ufP/uxqLwKSH7xY89TDnbR9uOHzjLoBr0tlajk

View file

@ -300,7 +300,7 @@ userinfo.callback = async function (msg, line) {
descLines.push(badges.join(""));
}
if (botDeleted) {
descLines.push("*This bot's application has been deleted*");
descLines.push("*This bot's application has been deleted*\n-# (or app ID and user ID desync)");
}
if (user.system) {
descLines.push("**System account**");
@ -379,12 +379,12 @@ userinfo.callback = async function (msg, line) {
decoration?.sku
? `[${decoration?.sku?.name}](https://discord.com/shop#itemSkuId=${user.avatar_decoration_data.sku_id})`
: "Unknown"
} (\`${user.avatar_decoration_data.sku_id}\`)\n[Image](${decorationUrl})`,
}\n-# ${user.avatar_decoration_data.sku_id}\n[Image](${decorationUrl})`,
inline: true,
},
primaryGuild?.data?.name && {
user.primary_guild?.identity_guild_id && {
name: "Server Tag",
value: `${primaryGuild.data.name} (\`${user.primary_guild.identity_guild_id}\`)`,
value: `${primaryGuild?.data?.name ?? "<private guild>"}\n-# ${user.primary_guild.identity_guild_id}`,
inline: true,
},
vcBadges?.length > 0 && {