2021-02-05 22:01:01 +01:00
|
|
|
export interface Invite {
|
|
|
|
code: string;
|
2021-02-11 20:44:26 +01:00
|
|
|
temporary: boolean;
|
|
|
|
uses: number;
|
|
|
|
max_uses: number;
|
|
|
|
max_age: number;
|
|
|
|
created_at: number;
|
2021-02-05 22:01:01 +01:00
|
|
|
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;
|
|
|
|
}
|