move guild arrays into seperate collections
1 files changed, 3 insertions, 4 deletions
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;
|