revbot.js
    Preparing search index...

    Class ServerRoleDelete

    Represents the event handler for server role deletions.

    Hierarchy (View Summary)

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Handles the server role deletion event.

      Parameters

      • data: { id: string; role_id: string }

        The data for the event, containing the server ID and role ID.

      Returns unknown

      An object containing the deleted role, or an empty object if the role or server is not found.