summary refs log tree commit diff
path: root/src/models/Invite.ts
blob: df1286f50d3b331e032c2292c51f739ab912bb30 (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
export interface Invite {
	code: string;
	temporary: boolean;
	uses: number;
	max_uses: number;
	max_age: number;
	created_at: number;
	guild: {
		id: bigint;
		name: string;
		splash: string;
		description: string;
		icon: string;
		features: Object;
		verification_level: number;
	};
	channel: {
		id: bigint;
		name: string;
		type: number;
	};

	inviter: {
		id: bigint;
		username: string;
		avatar: string;
		discriminator: number;
	};
	target_user: {
		id: bigint;
		username: string;
		avatar: string;
		discriminator: number;
	};
	target_user_type: number;
}