Interface ShardBulkAssignmentResult

Result of a bulk assignment with per-user outcomes.

interface ShardBulkAssignmentResult {
    guildId: string;
    ok: boolean;
    results: { action: string; netId: number; ok: boolean; userId: string }[];
}

Properties

Properties

guildId: string

ID of the guild the assignments belong to.

ok: boolean

Whether the bulk operation succeeded overall.

results: { action: string; netId: number; ok: boolean; userId: string }[]

Per-user outcomes for each action in the bulk operation.

Type declaration

  • action: string

    Action that was performed for this user.

  • netId: number

    Numeric ID of the net involved.

  • ok: boolean

    Whether this user's operation succeeded.

  • userId: string

    ID of the user this outcome applies to.