1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-11 13:14:06 +01:00

Update Guild.ts

This commit is contained in:
Intevel ツ 2021-05-08 14:55:54 +02:00
parent aca506a6cf
commit 160a885fe6

View File

@ -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,