Discord.https - v3.0.16
    Preparing search index...

    Interface RESTPatchAPIGuildRoleJSONBody

    interface RESTPatchAPIGuildRoleJSONBody {
        color?: null | number;
        colors?: APIRoleColors;
        hoist?: null | boolean;
        icon?: null | string;
        mentionable?: null | boolean;
        name?: null | string;
        permissions?: null | string;
        unicode_emoji?: null | string;
    }
    Index

    Properties

    color?: null | number

    RGB color value

    color will still be returned by the API, but using the colors field is recommended when doing requests.

    colors?: APIRoleColors

    The role's colors

    hoist?: null | boolean

    Whether the role should be displayed separately in the sidebar

    icon?: null | string

    The role's icon image (if the guild has the ROLE_ICONS feature)

    mentionable?: null | boolean

    Whether the role should be mentionable

    name?: null | string

    Name of the role

    permissions?: null | string

    Bitwise value of the enabled/disabled permissions

    unicode_emoji?: null | string

    The role's unicode emoji as a standard emoji (if the guild has the ROLE_ICONS feature)