discord-api-docs
discord-api-docs copied to clipboard
`global_name` is null for user objects of bots
Description
global_name in the user object is null for bots even though it's documented that it is the bot's app name for them.
Steps to Reproduce
curl https://discord.com/api/v10/users/803161944101486593 -H "Authorization: Bot {token}"
Expected Behavior
global_name is the app name for bots
Current Behavior
global_name is null for bots
Screenshots/Videos
No response
Client and System Information
- NetCord
- cURL
Bots have a username, no global_name - Actually, any user that hasn't set a global_name won't have one, username will be always populated though
Bots have a
username, noglobal_name- Actually, any user that hasn't set aglobal_namewon't have one,usernamewill be always populated though