From f572c7142b070533e874be048a1b43f568bb334e Mon Sep 17 00:00:00 2001 From: Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> Date: Fri, 12 Feb 2021 15:13:02 +0100 Subject: move guild arrays into seperate collections --- src/models/Guild.ts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/models/Guild.ts') diff --git a/src/models/Guild.ts b/src/models/Guild.ts index 7cf3b193..348f8c7c 100644 --- a/src/models/Guild.ts +++ b/src/models/Guild.ts @@ -8,7 +8,6 @@ export interface Guild { afk_timeout?: number; application_id?: bigint; banner?: string; - channels: GuildChannel[]; default_message_notifications?: number; description?: string; discovery_splash?: string; @@ -24,17 +23,17 @@ export interface Guild { max_video_channel_users?: number; // ? default: 25, is this max 25 streaming or watching member_count?: number; presence_count?: number; // users online - members?: Member[]; + // members?: Member[]; // * Members are stored in a seperate collection + // roles: Role[]; // * Role are stroed in a seperate collection + // channels: GuildChannel[]; // * Channels are stroed in a seperate collection mfa_level?: number; name: string; owner_id: bigint; preferred_locale?: string; // only community guilds can choose this premium_subscription_count?: number; premium_tier?: number; // nitro boost level - presences: []; // TODO: add model public_updates_channel_id?: bigint; region?: string; - roles: Role[]; rules_channel_id?: bigint; splash?: string; system_channel_flags?: number; -- cgit 1.5.1