feat: why tf discord named the display name in the api global name
All checks were successful
pages test
All checks were successful
pages test
This commit is contained in:
parent
8dce7f4a4d
commit
2041a579ee
|
@ -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();
|
Loading…
Reference in a new issue