From 998d1fe6fb87b0effc328183116ac1a46291a53b Mon Sep 17 00:00:00 2001 From: Cynthia Foxwell Date: Tue, 13 Aug 2024 23:16:37 -0600 Subject: [PATCH] userinfo: forgot the display name --- src/modules/utility/userinfo.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/utility/userinfo.js b/src/modules/utility/userinfo.js index 9a43feb..0f42dc9 100644 --- a/src/modules/utility/userinfo.js +++ b/src/modules/utility/userinfo.js @@ -274,7 +274,7 @@ userinfo.callback = async function (msg, line) { image: { 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"), fields: [ {