Are you an LLM? You can read better optimized documentation at /en/message-templates/types/discord/role.md for this page in Markdown format
Role
This data type describes all available data about the role.
Properties
| Property | Type | Description |
|---|---|---|
id | Number | Unique identifier |
name | String | Name |
iconUrl | String | Icon URL |
position | Number | Position number in role list |
createdAt | DateTime | Creation date and time |
permissionsRaw | Number | Permissions in raw numeric representation |
managed | Boolean | true if this role is managed by some integration |
hoisted | Boolean | true if this role is displayed separately from online members |
publicRole | Boolean | true if this is public role (@everyone) |
color | String | Color in #RRGGBB format |
guild | Guild | Server information |