Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

global_name is null for user objects of bots #6977

Open
KubaZ2 opened this issue Jul 7, 2024 · 2 comments
Open

global_name is null for user objects of bots #6977

KubaZ2 opened this issue Jul 7, 2024 · 2 comments
Labels

Comments

@KubaZ2
Copy link
Contributor

KubaZ2 commented Jul 7, 2024

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

@KubaZ2 KubaZ2 added the bug label Jul 7, 2024
@Luna-devv
Copy link

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

@KubaZ2
Copy link
Contributor Author

KubaZ2 commented Jul 7, 2024

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

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants