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<GuildCreateSchema, "channels"> {
+export interface GuildUpdateSchema extends Omit<GuildCreateSchema, "channels" | "name"> {
+ name?: string;
banner?: string | null;
splash?: string | null;
description?: string;
|