Skip to content

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

Open
@Andcool-Systems

Description

@Andcool-Systems

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions