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