summary refs log tree commit diff
path: root/src/models/Guild.ts
blob: 3d84a9c835df49a22fcce7198a2a46a36d21313c (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
49
50
51
52
53
import { Channel } from "./Channel";
import { Emoji } from "./Emoji";
import { Member } from "./Member";
import { Role } from "./Role";

export interface Guild {
	id: bigint;
	name: string;
	icon: string;
	icon_hash: string;
	splash: string;
	discovery_splash: string;
	owner: boolean;
	owner_id: bigint;
	permissions: string;
	region: string;
	afk_channel_id: bigint;
	afk_timeout: number;
	widget_enabled: boolean;
	widget_channel_id: bigint;
	verification_level: number;
	default_message_notifications: number;
	explicit_content_filter: number;
	roles: Role[];
	emojis: Emoji[];
	features: [];
	mfa_level: number;
	application_id: bigint;
	system_channel_id: bigint;
	system_channel_flags: number;
	rules_channel_id: bigint;
	joined_at: number;
	large: boolean;
	unavailable: boolean;
	member_count: number;
	voice_states: []; // ! tf is this
	members: Member[];
	channels: Channel[];
	presences: []; // TODO: add model
	max_presences: number;
	max_members: number;
	vanity_url_code: string;
	description: string;
	banner: string;
	premium_tier: number;
	premium_subscription_count: number;
	preferred_locale: string;
	public_updates_channel_id: bigint;
	max_video_channel_users: number;
	approximate_member_count: number;
	approximate_presence_count: number;
	welcome_screen: []; // ! what is this
}