Interface SetOperationResponse

Response from opening or closing the operation.

interface SetOperationResponse {
    action: "operation.set";
    guildId: string;
    ok: boolean;
    open: boolean;
}

Properties

Properties

action: "operation.set"

Discriminator identifying this as an operation-set response.

guildId: string

Discord guild ID the operation applies to.

ok: boolean

Whether the request succeeded.

open: boolean

Whether the operation is now open.