Skip to content

Commit 7b4be58

Browse files
Changelog
1 parent 9ca92a2 commit 7b4be58

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
title: "Gradient Roles and Guild Tags"
3+
date: "2025-07-02"
4+
topics:
5+
- "HTTP API"
6+
---
7+
8+
We've documented gradient role colors and guild tags in the API. Guild tags allow users to rep their primary server with a four character badge next to their display name. They can be accessed from `primary_guild` on a user. Gradient role colors allow servers to have roles with gradient colors instead of a single, solid color. They can be found as `colors` when interacting with roles in guilds. As part of this change we have deprecated the `color` field on roles, but it will still work for backwards compatibility.
9+
10+
#### Gradient Role Colors
11+
12+
- The guild feature `ENHANCED_ROLE_COLORS` will let you know if a guild is able to set gradient colors to roles.
13+
- Guild roles now have `colors` as part of the [structure](/docs/topics/permissions#role-object-role-structure).
14+
- `color` on guild roles is deprecated but will still be returned by the API and continues to work for backwards compatibility.
15+
- [Role color structure](/docs/topics/permissions#role-object-role-colors-object)
16+
17+
#### Guild Tags
18+
19+
- Guild tags can be retrieved through the user `primary_guild` field.
20+
- [User Primary Guild](/docs/resources/user#user-object-user-primary-guild)

0 commit comments

Comments
 (0)