Interface SetRulesResponse

Response from replacing auto-assignment rules.

interface SetRulesResponse {
    action: "rules.set";
    guildId: string;
    ok: boolean;
    rules: AutoAssignRule[];
}

Properties

Properties

action: "rules.set"

Discriminator identifying this as a rules-set response.

guildId: string

Discord guild ID the rules belong to.

ok: boolean

Whether the request succeeded.

Replaced list of auto-assignment rules.