userinfo: forgot the display name

This commit is contained in:
Cynthia Foxwell 2024-08-13 23:16:37 -06:00
parent 43133afb20
commit 998d1fe6fb

View file

@ -274,7 +274,7 @@ userinfo.callback = async function (msg, line) {
image: { image: {
url: banner, url: banner,
}, },
title: `${formatUsername(user)} ${user.bot ? Icons.boat : ""}`, title: `${user.global_name ?? user.username} (${formatUsername(user)}) ${user.bot ? Icons.boat : ""}`,
description: descLines.join("\n"), description: descLines.join("\n"),
fields: [ fields: [
{ {