summary refs log tree commit diff
path: root/src/util/schemas/GuildUpdateSchema.ts
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-09-28 16:39:05 +1000
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-09-28 16:39:05 +1000
commit7818e8dd3cff1cba078acd52cda4f852d6422a92 (patch)
treedb2a5e91a0505e91be49ba5825919051326108d6 /src/util/schemas/GuildUpdateSchema.ts
parentUse PrimaryIdColumn instead of PrimaryColumn in Invite and Category (diff)
downloadserver-7818e8dd3cff1cba078acd52cda4f852d6422a92.tar.xz
Missed some schemas
Diffstat (limited to 'src/util/schemas/GuildUpdateSchema.ts')
-rw-r--r--src/util/schemas/GuildUpdateSchema.ts17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/util/schemas/GuildUpdateSchema.ts b/src/util/schemas/GuildUpdateSchema.ts
new file mode 100644
index 00000000..fb2ac4f2
--- /dev/null
+++ b/src/util/schemas/GuildUpdateSchema.ts
@@ -0,0 +1,17 @@
+import { GuildCreateSchema } from "@fosscord/util";
+
+export interface GuildUpdateSchema extends Omit<GuildCreateSchema, "channels"> {
+	banner?: string | null;
+	splash?: string | null;
+	description?: string;
+	features?: string[];
+	verification_level?: number;
+	default_message_notifications?: number;
+	system_channel_flags?: number;
+	explicit_content_filter?: number;
+	public_updates_channel_id?: string;
+	afk_timeout?: number;
+	afk_channel_id?: string;
+	preferred_locale?: string;
+	premium_progress_bar_enabled?: boolean;
+}