revbot.js
    Preparing search index...

    Class ServerRoleUpdate

    Represents the event handler for server role updates.

    Hierarchy (View Summary)

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Handles the server role update event.

      Parameters

      • data: {
            clear: "Colour"[];
            data: {
                colour?: null | string;
                hoist?: boolean;
                name: string;
                permissions: { a: number; d: number };
                rank?: number;
            } & { _id: string };
            id: string;
            role_id: string;
        }

        The data for the event, containing the server ID, role ID, updated role data, and fields to clear.

      Returns void