summary refs log tree commit diff
path: root/src/models
diff options
context:
space:
mode:
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,