interface RESTAPIGuildCreateRole

external
export interface RESTAPIGuildCreateRole extends RESTPostAPIGuildRoleJSONBody

optionalexternal
color? : number | null | undefined = 0

RGB color value

Inherited from: RESTPostAPIGuildRoleJSONBody

optionalexternal
hoist? : boolean | null | undefined = false

Whether the role should be displayed separately in the sidebar

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 = false

Whether the role should be mentionable

Inherited from: RESTPostAPIGuildRoleJSONBody

optionalexternal
name? : string | null | undefined = "new role"

Name of the role

Inherited from: RESTPostAPIGuildRoleJSONBody

optionalexternal
permissions? : Permissions | null | undefined = Default role permissions in guild

Bitwise value of the enabled/disabled permissions

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