Interface ShardArchiveUpsertResponse

Result of an archive create or update operation.

interface ShardArchiveUpsertResponse {
    action: "created" | "updated";
    entry: ArchiveEntry;
    guildId: string;
    ok: boolean;
}

Properties

Properties

action: "created" | "updated"

Whether the entry was created or updated.

The created or updated archive entry.

guildId: string

Discord guild identifier the entry belongs to.

ok: boolean

Whether the operation succeeded.