summary refs log tree commit diff
path: root/src/util/schemas/GuildUpdateSchema.ts
diff options
context:
space:
mode:
authorPuyodead1 <23562356riley@gmail.com>2022-07-25 23:02:04 -0400
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-12-18 16:31:03 +1100
commitff2043e07ecc60b9461d1ac924efa738f1b50a61 (patch)
tree7a6e403a55a5080ff857aa4002641bba6e107f0c /src/util/schemas/GuildUpdateSchema.ts
parentAdd comment for 123 magic number (diff)
downloadserver-ff2043e07ecc60b9461d1ac924efa738f1b50a61.tar.xz
fix: not being able to enable community
Diffstat (limited to '')
-rw-r--r--src/util/schemas/GuildUpdateSchema.ts3
1 files changed, 2 insertions, 1 deletions
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;