Interface GatewayEvent_ServerRolesUpdated

interface GatewayEvent_ServerRolesUpdated {
    memberRoleIds: {
        roleIds: number[];
        userId: string;
    }[];
    serverId: string;
}

Properties

memberRoleIds: {
    roleIds: number[];
    userId: string;
}[]

Type declaration

  • roleIds: number[]

    The IDs of the roles that the member currently has after this operation (must have unique items true)

  • userId: string

    The ID of the member that had roles updated

serverId: string

The ID of the server