userinfo: guh

This commit is contained in:
Cynthia Foxwell 2025-07-12 17:30:51 -06:00
parent 6445664512
commit 0432ad9ce5
Signed by: Cynosphere
SSH key fingerprint: SHA256:H3SM8ufP/uxqLwKSH7xY89TDnbR9uOHzjLoBr0tlajk

View file

@ -258,7 +258,10 @@ userinfo.callback = async function (msg, line) {
if (questDecoration != null) break; if (questDecoration != null) break;
} }
if (questDecoration != null) { if (questDecoration != null) {
questDecorationName = questDecoration.messages.name.replace("Avatar Decoration", ""); questDecorationName = (questDecoration.name ?? questDecoration.messages?.name ?? "*Unknown*").replace(
"Avatar Decoration",
""
);
badges.push(`[${Icons.badges.quest_completed}](${BadgeURLs.quest_completed})`); badges.push(`[${Icons.badges.quest_completed}](${BadgeURLs.quest_completed})`);
} }
} else if ( } else if (