-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathindex.d.ts
93 lines (91 loc) · 1.88 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
import type { ColorResolvable } from "discord.js/typings/index.js";
import type { Document } from "mongoose";
export interface Config {
DISCORD_TOKEN: string;
MONGOOSE_URI: string;
mode: "development" | "production";
guildId: string;
admins: string[];
logs: string;
owner: {
id: string;
username: string;
};
defaultSettings: {
guildName: string;
prefix: string;
logChannel: string;
welcomeMessage: string;
rankcard: string;
invitations: boolean;
kickauto: boolean;
};
colors: {
embed: ColorResolvable;
red: ColorResolvable;
orange: ColorResolvable;
green: ColorResolvable;
};
emojis: {
boost: string;
info: string;
voice: string;
channel: string;
success: string;
error: string;
loading: string;
arrow: string;
coins: string;
};
}
export interface GuildData {
byeMessage: string;
byeChannel: string;
commands: Array<any>;
expSystem: boolean;
expChannel: string;
expMessage: string;
expCard: string;
filter: Array<string>;
guildId: string;
invitations: boolean;
ignoreChannel: Array<string>;
kickAuto: boolean;
links: Array<any>;
modLogs: string;
modRoles: Array<string>;
premium: boolean;
reactionRoles: Array<rr>;
welcomeMessage: string;
welcomeChannel: string;
}
export interface GuildDB extends GuildData, Document {}
export interface rr {
emoji: string;
messageID: string;
channelID: string;
roleID: string;
}
export interface GuildCreateDB {
guildId: string;
name?: string;
}
export interface ReactionRole {
channelID: string;
messageID: string;
emoji: string;
roles: Array<string>;
}
export interface CommandDB {
id: string;
name: string;
content: string;
}
export interface UserData {
guildID: string;
userID: string;
experience: number;
level: number;
warns: number;
}
export interface UserDB extends UserData, Document {}