From b8009ae82719b7ff599278849713edf59f61ddcd Mon Sep 17 00:00:00 2001 From: Stoat CI Date: Mon, 23 Mar 2026 19:31:39 +0000 Subject: [PATCH] chore: build library from latest spec [skip ci] --- src/schema.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/schema.ts b/src/schema.ts index 98fa286..8f070d6 100644 --- a/src/schema.ts +++ b/src/schema.ts @@ -582,6 +582,8 @@ export interface components { server_channels: number; /** Format: int64 */ body_limit_size: number; + /** @description restrict server creation to these users. if blank, all users can create servers */ + restrict_server_creation: string[]; }; /** User Limits */ UserLimits: { @@ -769,6 +771,10 @@ export interface components { /** @enum {string} */ type: "NotPinned"; } + | { + /** @enum {string} */ + type: "CantCreateServers"; + } | { /** @enum {string} */ type: "UnknownServer";