You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
The text was updated successfully, but these errors were encountered:
Description
The
GET /users/{user.id}
endpoint returns theaccent_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 theaccent_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 versionCurrent Behavior
The
accent_color
field contains the color that was set before the Nitro was receivedScreenshots/Videos
No response
Client and System Information
Curl/requests (python)/axios (ts)
The text was updated successfully, but these errors were encountered: