userinfo: some cleanup
This commit is contained in:
parent
9afb5ef9f5
commit
29f381b18a
1 changed files with 4 additions and 4 deletions
|
@ -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 && {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue