RESTPatchAPIGuildRoleJSONBody

https://discord.com/developers/docs/resources/guild#modify-guild-role

Signature

export interface RESTPatchAPIGuildRoleJSONBody

Properties

name?: string | null | undefined;

Name of the role

color?: number | null | undefined;

RGB color value

hoist?: boolean | null | undefined;

Whether the role should be displayed separately in the sidebar

icon?: string | null | undefined;

The role's icon image (if the guild has the `ROLE_ICONS` feature)

unicode_emoji?: string | null | undefined;

The role's unicode emoji as a standard emoji (if the guild has the `ROLE_ICONS` feature)

mentionable?: boolean | null | undefined;

Whether the role should be mentionable