summary refs log tree commit diff
path: root/src/models/Guild.ts
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-02-12 15:13:02 +0100
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-02-12 15:13:02 +0100
commitf572c7142b070533e874be048a1b43f568bb334e (patch)
tree138dfde3a1b6f00d95b2c2578de2392b84d21e56 /src/models/Guild.ts
parent:bug: fix export (diff)
downloadserver-f572c7142b070533e874be048a1b43f568bb334e.tar.xz
move guild arrays into seperate collections
Diffstat (limited to 'src/models/Guild.ts')
-rw-r--r--src/models/Guild.ts7
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;