summary refs log tree commit diff
path: root/src/models
diff options
context:
space:
mode:
authorIntevel ツ <59223342+Intevel@users.noreply.github.com>2021-05-08 14:55:54 +0200
committerIntevel ツ <59223342+Intevel@users.noreply.github.com>2021-05-08 14:55:54 +0200
commit160a885fe67ab17033c5a4f233e5c20c71830a8b (patch)
treeba1fa4791eb03c8443d52ae59efea65dc7bc26c6 /src/models
parentUpdate package.json (diff)
downloadserver-160a885fe67ab17033c5a4f233e5c20c71830a8b.tar.xz
Update Guild.ts
Diffstat (limited to 'src/models')
-rw-r--r--src/models/Guild.ts12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/models/Guild.ts b/src/models/Guild.ts
index 25045ac4..5a2cdb26 100644
--- a/src/models/Guild.ts
+++ b/src/models/Guild.ts
@@ -52,7 +52,11 @@ export interface Guild {
 	welcome_screen: {
 		enabled: boolean;
 		description: string;
-		welcome_channels: [];
+		welcome_channels: { 
+		description: string;
+	    emoji_id?: string;
+	    emoji_name: string;
+	    channel_id: string }[];
 	};
 	widget_channel_id?: string;
 	widget_enabled?: boolean;
@@ -96,7 +100,11 @@ export const GuildSchema = new Schema({
 	welcome_screen: {
 		enabled: Boolean,
 		description: String,
-		welcome_channels: [Object],
+		welcome_channels: [{ 
+		description: String,
+	    emoji_id: String,
+	    emoji_name: String,
+	    channel_id: String }],
 	},
 	widget_channel_id: String,
 	widget_enabled: Boolean,