From 1f72d884b2fa8cefd88c8bb259679c8864e6f92b Mon Sep 17 00:00:00 2001 From: Puyodead1 <23562356riley@gmail.com> Date: Mon, 25 Jul 2022 23:02:04 -0400 Subject: [PATCH] fix: not being able to enable community --- assets/schemas.json | 7 +++---- src/util/schemas/GuildUpdateSchema.ts | 3 ++- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/assets/schemas.json b/assets/schemas.json index d37a97d9..368d22fc 100644 --- a/assets/schemas.json +++ b/assets/schemas.json @@ -18260,6 +18260,9 @@ "GuildUpdateSchema": { "type": "object", "properties": { + "name": { + "type": "string" + }, "banner": { "type": [ "null", @@ -18311,10 +18314,6 @@ "discovery_splash": { "type": "string" }, - "name": { - "maxLength": 100, - "type": "string" - }, "region": { "type": "string" }, diff --git a/src/util/schemas/GuildUpdateSchema.ts b/src/util/schemas/GuildUpdateSchema.ts index 02739190..e858a7a2 100644 --- a/src/util/schemas/GuildUpdateSchema.ts +++ b/src/util/schemas/GuildUpdateSchema.ts @@ -1,6 +1,7 @@ import { GuildCreateSchema } from "@fosscord/util"; -export interface GuildUpdateSchema extends Omit { +export interface GuildUpdateSchema extends Omit { + name?: string; banner?: string | null; splash?: string | null; description?: string;