🐛 fix guild model

This commit is contained in:
Flam3rboy 2021-02-14 21:58:37 +01:00
parent 775296d004
commit b1439c7ac3
2 changed files with 1 additions and 2 deletions

View File

@ -36,7 +36,6 @@ export interface Guild {
unavailable?: boolean; unavailable?: boolean;
vanity_url_code?: string; vanity_url_code?: string;
verification_level?: number; verification_level?: number;
voice_states: [];
welcome_screen: []; welcome_screen: [];
widget_channel_id?: bigint; widget_channel_id?: bigint;
widget_enabled?: boolean; widget_enabled?: boolean;

View File

@ -26,6 +26,7 @@ export interface Guild {
// roles: Role[]; // * Role are stored in a seperate collection // roles: Role[]; // * Role are stored in a seperate collection
// channels: GuildChannel[]; // * Channels are stored in a seperate collection // channels: GuildChannel[]; // * Channels are stored in a seperate collection
// emojis: Emoji[]; // * Emojis are stored in a seperate collection // emojis: Emoji[]; // * Emojis are stored in a seperate collection
// voice_states: []; // * voice_states are stored in a seperate collection
mfa_level?: number; mfa_level?: number;
name: string; name: string;
owner_id: bigint; owner_id: bigint;
@ -41,7 +42,6 @@ export interface Guild {
unavailable?: boolean; unavailable?: boolean;
vanity_url_code?: string; vanity_url_code?: string;
verification_level?: number; verification_level?: number;
voice_states: []; // connected users
welcome_screen: []; // welcome splash screen if a user joins guild welcome_screen: []; // welcome splash screen if a user joins guild
widget_channel_id?: bigint; widget_channel_id?: bigint;
widget_enabled?: boolean; widget_enabled?: boolean;