interface RESTAPIGuildCreateRole

external
export interface RESTAPIGuildCreateRole extends RESTPostAPIGuildRoleJSONBody

optionalexternal
color? : number | null | undefined

RGB color value 0

Inherited from: RESTPostAPIGuildRoleJSONBody

optionalexternal
hoist? : boolean | null | undefined

Whether the role should be displayed separately in the sidebar false

Inherited from: RESTPostAPIGuildRoleJSONBody

optionalexternal
icon? : string | null | undefined

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

Inherited from: RESTPostAPIGuildRoleJSONBody

external
id : number | string

optionalexternal
mentionable? : boolean | null | undefined

Whether the role should be mentionable false

Inherited from: RESTPostAPIGuildRoleJSONBody

optionalexternal
name? : string | null | undefined

Name of the role "new role"

Inherited from: RESTPostAPIGuildRoleJSONBody

optionalexternal
permissions? : Permissions | null | undefined

Bitwise value of the enabled/disabled permissions "default role permissions in guild"

Inherited from: RESTPostAPIGuildRoleJSONBody

optionalexternal
unicode_emoji? : string | null | undefined

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

Inherited from: RESTPostAPIGuildRoleJSONBody