From 2041a579ee106a45970be31f5fa55cf41b487ebb Mon Sep 17 00:00:00 2001 From: TheClashFruit Date: Thu, 24 Aug 2023 16:50:28 +0200 Subject: [PATCH] feat: why tf discord named the display name in the api global name --- js/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/main.js b/js/main.js index c16db11..1ab437f 100644 --- a/js/main.js +++ b/js/main.js @@ -39,7 +39,7 @@ const DiscordApi = { const displayUser = async () => { const user = await DiscordApi.getUser() - $('.userButton').innerText = user.display_name + $('.userButton').innerText = user.global_name } displayUser(); \ No newline at end of file