CreateGuildRole
Documentation / @discordeno/types / CreateGuildRole
Interface: CreateGuildRole
Defined in: discordeno/guild.ts:214
https://docs.discord.com/developers/resources/guild#create-guild-role-json-params
Properties
color?
optionalcolor?:number
Defined in: discordeno/guild.ts:223
RGB color value, default: 0
Deprecated
the colors field is recommended for use instead of this field
colors?
optionalcolors?:GuildRoleColors
Defined in: discordeno/guild.ts:225
The role's color
hoist?
optionalhoist?:boolean
Defined in: discordeno/guild.ts:227
Whether the role should be displayed separately in the sidebar, default: false
icon?
optionalicon?:string|null
Defined in: discordeno/guild.ts:229
the role's icon image (if the guild has the ROLE_ICONS feature)
mentionable?
optionalmentionable?:boolean
Defined in: discordeno/guild.ts:233
Whether the role should be mentionable, default: false
name?
optionalname?:string
Defined in: discordeno/guild.ts:216
Name of the role, max 100 characters, default: "new role"
permissions?
optionalpermissions?:string
Defined in: discordeno/guild.ts:218
Bitwise value of the enabled/disabled permissions, default: everyone permissions in guild
unicodeEmoji?
optionalunicodeEmoji?:string|null
Defined in: discordeno/guild.ts:231
The role's unicode emoji (if the guild has the ROLE_ICONS feature)