Skip to content

The bot API does not return the correct banner color for users with Nitro #7494

New issue

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

By clicking “No 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? No Sign in to your account

Open
Andcool-Systems opened this issue Apr 22, 2025 · 0 comments
Labels

Comments

@Andcool-Systems
Copy link

Description

The GET /users/{user.id} endpoint returns the accent_color field, which contains the banner color of the requested user. However, for users with Nitro and a custom profile theme, this has the wrong value. The API returns the value that was set prior to receiving Nitro, not one of the profile colors. In this case, it is not possible to get the banner color through the Bot API, which degrades the user experience. I suggest replacing the value in the accent_color field for users with Nitro and an installed profile theme with one of the profile colors (primary). Or at least add another field in the response that would contain the actual profile colors. Thanks for your reply ♥

Steps to Reproduce

Do GET request to /users/{user.id} and see the response

Expected Behavior

The accent_color field should contain the color that users see in the web/desktop version

Current Behavior

The accent_color field contains the color that was set before the Nitro was received

Screenshots/Videos

No response

Client and System Information

Curl/requests (python)/axios (ts)

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

No branches or pull requests

1 participant