userinfo: guh
This commit is contained in:
parent
6445664512
commit
0432ad9ce5
1 changed files with 4 additions and 1 deletions
|
@ -258,7 +258,10 @@ userinfo.callback = async function (msg, line) {
|
|||
if (questDecoration != null) break;
|
||||
}
|
||||
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})`);
|
||||
}
|
||||
} else if (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue