Skip to content

Commit e56f179

Browse files
authored
Specify unicode emoji type for Custom Role Icons (#3886)
* Specify standard emoji for role unicode emoji * Add reference to message-formatting * Fix table spacing * Remove .idea files
1 parent c375d03 commit e56f179

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

docs/resources/Guild.md

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -870,15 +870,15 @@ Create a new [role](#DOCS_TOPICS_PERMISSIONS/role-object) for the guild. Require
870870
871871
###### JSON Params
872872

873-
| Field | Type | Description | Default |
874-
| ------------- | ---------------------------------------- | -------------------------------------------------------------------- | ------------------------------ |
875-
| name | string | name of the role | "new role" |
876-
| permissions | string | bitwise value of the enabled/disabled permissions | @everyone permissions in guild |
877-
| color | integer | RGB color value | 0 |
878-
| hoist | boolean | whether the role should be displayed separately in the sidebar | false |
879-
| icon | [image data](#DOCS_REFERENCE/image-data) | the role's icon image (if the guild has the `ROLE_ICONS` feature) | null |
880-
| unicode_emoji | string | the role's unicode emoji (if the guild has the `ROLE_ICONS` feature) | null |
881-
| mentionable | boolean | whether the role should be mentionable | false |
873+
| Field | Type | Description | Default |
874+
| ------------- | ---------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------ |
875+
| name | string | name of the role | "new role" |
876+
| permissions | string | bitwise value of the enabled/disabled permissions | @everyone permissions in guild |
877+
| color | integer | RGB color value | 0 |
878+
| hoist | boolean | whether the role should be displayed separately in the sidebar | false |
879+
| icon | [image data](#DOCS_REFERENCE/image-data) | the role's icon image (if the guild has the `ROLE_ICONS` feature) | null |
880+
| unicode_emoji | string | the role's unicode emoji as a [standard emoji](#DOCS_TOPICS_REFERENCE/message-formatting) (if the guild has the `ROLE_ICONS` feature) | null |
881+
| mentionable | boolean | whether the role should be mentionable | false |
882882

883883
## Modify Guild Role Positions % PATCH /guilds/{guild.id#DOCS_RESOURCES_GUILD/guild-object}/roles
884884

@@ -908,15 +908,15 @@ Modify a guild role. Requires the `MANAGE_ROLES` permission. Returns the updated
908908
909909
###### JSON Params
910910

911-
| Field | Type | Description |
912-
| ------------- | ---------------------------------------- | -------------------------------------------------------------------- |
913-
| name | string | name of the role |
914-
| permissions | string | bitwise value of the enabled/disabled permissions |
915-
| color | integer | RGB color value |
916-
| hoist | boolean | whether the role should be displayed separately in the sidebar |
917-
| icon | [image data](#DOCS_REFERENCE/image-data) | the role's icon image (if the guild has the `ROLE_ICONS` feature) |
918-
| unicode_emoji | string | the role's unicode emoji (if the guild has the `ROLE_ICONS` feature) |
919-
| mentionable | boolean | whether the role should be mentionable |
911+
| Field | Type | Description |
912+
| ------------- | ---------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- |
913+
| name | string | name of the role |
914+
| permissions | string | bitwise value of the enabled/disabled permissions |
915+
| color | integer | RGB color value |
916+
| hoist | boolean | whether the role should be displayed separately in the sidebar |
917+
| icon | [image data](#DOCS_REFERENCE/image-data) | the role's icon image (if the guild has the `ROLE_ICONS` feature) |
918+
| unicode_emoji | string | the role's unicode emoji as a [standard emoji](#DOCS_TOPICS_REFERENCE/message-formatting) (if the guild has the `ROLE_ICONS` feature) |
919+
| mentionable | boolean | whether the role should be mentionable |
920920

921921
## Delete Guild Role % DELETE /guilds/{guild.id#DOCS_RESOURCES_GUILD/guild-object}/roles/{role.id#DOCS_TOPICS_PERMISSIONS/role-object}
922922

0 commit comments

Comments
 (0)