summary refs log tree commit diff
path: root/src/util/schemas/responses/GuildVanityUrl.ts
blob: ff37bf4ef8c31563a85647079e4837d390d6db68 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
export interface GuildVanityUrl {
	code: string;
	uses: number;
}

export interface GuildVanityUrlNoInvite {
	code: null;
}

export type GuildVanityUrlResponse =
	| GuildVanityUrl
	| GuildVanityUrl[]
	| GuildVanityUrlNoInvite;

export interface GuildVanityUrlCreateResponse {
	code: string;
}