forked from iAsure/discord-arts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.d.ts
42 lines (39 loc) · 1.16 KB
/
index.d.ts
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
type presenceStatus = 'online' | 'idle' | 'offline' | 'dnd' | 'invisible' | 'streaming' | 'phone'
type borderAllign = 'horizontal' | 'vertical'
interface rankOptions {
currentXp: number;
requiredXp: number;
level: number;
rank?: number;
barColor?: string;
levelColor?: string;
autoColorRank?: boolean;
}
interface profileOptions {
customUsername?: string;
customTag?: string;
customSubtitle?: string;
customBadges?: string[];
customBackground?: string;
overwriteBadges?: boolean;
usernameColor?: string;
tagColor?: string;
borderColor?: string | string[];
borderAllign?: borderAllign;
disableProfileTheme?: boolean;
disableBackgroundBlur?: boolean;
badgesFrame?: boolean;
removeBadges?: boolean;
removeBorder?: boolean;
presenceStatus?: presenceStatus;
squareAvatar?: boolean;
moreBackgroundBlur?: boolean;
backgroundBrightness?: number
customDate?: Date | string;
localDateType?: string;
removeAvatarFrame?: boolean;
rankData?: rankOptions;
}
declare module 'discord-arts' {
export function profileImage(user: string, options?: profileOptions): Promise<Buffer>;
}