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 16:45:58 +02:00
parent 979d1a8700
commit 2bb9c5c4c9

View File

@ -47,7 +47,10 @@ export interface Guild {
system_channel_flags?: number;
system_channel_id?: string;
unavailable?: boolean;
vanity_url_code?: string;
vanity_url?: {
code: string;
uses: number;
};
verification_level?: number;
welcome_screen: {
enabled: boolean;
@ -94,7 +97,10 @@ export const GuildSchema = new Schema({
system_channel_flags: Number,
system_channel_id: String,
unavailable: Boolean,
vanity_url_code: String,
vanity_url: {
code: String,
uses: Number
},
verification_level: Number,
voice_states: { type: [Object], default: [] },
welcome_screen: {