APIRole
https://discord.com/developers/docs/topics/permissions#role-object
Signature
export interface APIRoleProperties
13Methods
0No methods.
Properties
id: Snowflake;Role id
name: string;Role name
color: number;Integer representation of hexadecimal color code
Deprecated
colors: APIRoleColors;The role's colors
hoist: boolean;If this role is pinned in the user listing
icon?: string | null;The role icon hash
unicode_emoji?: string | null;The role unicode emoji as a standard emoji
position: number;Position of this role
permissions: Permissions;Permission bit set See https://en.wikipedia.org/wiki/Bit_field
managed: boolean;Whether this role is managed by an integration
mentionable: boolean;Whether this role is mentionable
tags?: APIRoleTags;The tags this role has
flags: RoleFlags;Role flags