diff options
author | Intevel ツ <59223342+Intevel@users.noreply.github.com> | 2021-05-08 14:55:54 +0200 |
---|---|---|
committer | Intevel ツ <59223342+Intevel@users.noreply.github.com> | 2021-05-08 14:55:54 +0200 |
commit | 160a885fe67ab17033c5a4f233e5c20c71830a8b (patch) | |
tree | ba1fa4791eb03c8443d52ae59efea65dc7bc26c6 /src/models | |
parent | Update package.json (diff) | |
download | server-160a885fe67ab17033c5a4f233e5c20c71830a8b.tar.xz |
Update Guild.ts
Diffstat (limited to 'src/models')
-rw-r--r-- | src/models/Guild.ts | 12 |
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, |