RoleCreateOptions
Defined in: packages/managers/src/role.ts:26
Extends
Section titled “Extends”RoleStyleOptions
Properties
Section titled “Properties”color?
Section titled “color?”
optionalcolor?:number
Defined in: packages/managers/src/role.ts:10
A solid colour as a 24-bit integer. Use colors for a gradient.
Inherited from
Section titled “Inherited from”RoleStyleOptions.color
colors?
Section titled “colors?”
optionalcolors?:object
Defined in: packages/managers/src/role.ts:12
Primary, secondary and tertiary colours: two make a gradient, three the holographic style.
primary
Section titled “primary”primary:
number
secondary?
Section titled “secondary?”
optionalsecondary?:number|null
tertiary?
Section titled “tertiary?”
optionaltertiary?:number|null
Inherited from
Section titled “Inherited from”RoleStyleOptions.colors
hoist?
Section titled “hoist?”
optionalhoist?:boolean
Defined in: packages/managers/src/role.ts:17
Inherited from
Section titled “Inherited from”RoleStyleOptions.hoist
optionalicon?:string|null
Defined in: packages/managers/src/role.ts:20
The role’s icon as a data URI (needs the guild’s role-icons boost level), or null to remove it.
Inherited from
Section titled “Inherited from”RoleStyleOptions.icon
mentionable?
Section titled “mentionable?”
optionalmentionable?:boolean
Defined in: packages/managers/src/role.ts:18
Inherited from
Section titled “Inherited from”RoleStyleOptions.mentionable
name:
string
Defined in: packages/managers/src/role.ts:27
permissions?
Section titled “permissions?”
optionalpermissions?:string|number|bigint
Defined in: packages/managers/src/role.ts:8
Inherited from
Section titled “Inherited from”RoleStyleOptions.permissions
reason?
Section titled “reason?”
optionalreason?:string
Defined in: packages/managers/src/role.ts:23
Inherited from
Section titled “Inherited from”RoleStyleOptions.reason
unicodeEmoji?
Section titled “unicodeEmoji?”
optionalunicodeEmoji?:string|null
Defined in: packages/managers/src/role.ts:22
A unicode emoji as the role icon, or null to remove it.
Inherited from
Section titled “Inherited from”RoleStyleOptions.unicodeEmoji