blob: 348f8c7cbf9139fe5be4fb8110f9b427ca0129a1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
import { GuildChannel } from "./Channel";
import { Emoji } from "./Emoji";
import { Member } from "./Member";
import { Role } from "./Role";
export interface Guild {
afk_channel_id?: bigint;
afk_timeout?: number;
application_id?: bigint;
banner?: string;
default_message_notifications?: number;
description?: string;
discovery_splash?: string;
emojis: Emoji[];
explicit_content_filter?: number;
features: string[];
icon?: string;
id: bigint;
// joined_at?: number; \n // owner?: boolean; // ! member specific should be removed
large?: boolean;
max_members?: number; // e.g. default 100.000
max_presences?: number;
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 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
public_updates_channel_id?: bigint;
region?: string;
rules_channel_id?: bigint;
splash?: string;
system_channel_flags?: number;
system_channel_id?: bigint;
unavailable?: boolean;
vanity_url_code?: string;
verification_level?: number;
voice_states: []; // connected users
welcome_screen: []; // welcome splash screen if a user joins guild
widget_channel_id?: bigint;
widget_enabled?: boolean;
}
|