summary refs log tree commit diff
path: root/src
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
commit1f72d884b2fa8cefd88c8bb259679c8864e6f92b (patch)
tree006fbd6f9b5be18c0da157978ff58d4817f7d291 /src
parentAdd comment for 123 magic number (diff)
downloadserver-1f72d884b2fa8cefd88c8bb259679c8864e6f92b.tar.xz
fix: not being able to enable community
Diffstat (limited to 'src')
-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;