-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathConfiguration.ts
More file actions
63 lines (49 loc) · 1.4 KB
/
Configuration.ts
File metadata and controls
63 lines (49 loc) · 1.4 KB
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
import type { Snowflake } from "discord.js";
import type { SMTPServiceOptions } from "../services/SMTPService.js";
export interface SpecialRoleConfiguration {
roleid: Snowflake;
emote: string;
}
export interface GroupConfiguration {
roleid: Snowflake;
emote: string;
}
export interface YearConfiguration {
channelid: Snowflake;
roleid: Snowflake;
emote: string;
groups: GroupConfiguration[];
}
export interface AnnounceConfiguration {
channelid: Snowflake;
roleid: Snowflake;
emote: string;
}
export interface Configuration {
minLevel: string;
includeTimestamp: boolean;
guildId: Snowflake;
ownerIds: Snowflake[];
version: string | undefined;
botName: string;
botId: Snowflake;
communitymanagerRoleid: Snowflake;
adminRoleid: Snowflake;
delegatesRoleid: Snowflake;
professorRoleid: Snowflake;
verifiedRoleId: Snowflake;
informationsChannelid: Snowflake;
faqChannelid: Snowflake;
comiteeChannelid: Snowflake;
dynamicChannelPrefix: string;
dynamicChannelPrefixRegex: RegExp;
staticTriggerChannelids: Snowflake[];
rolesChannelid: Snowflake;
first: YearConfiguration;
second: YearConfiguration;
third: YearConfiguration;
alumni: SpecialRoleConfiguration;
tutor: SpecialRoleConfiguration;
announce: AnnounceConfiguration;
communicationServiceOptions: SMTPServiceOptions;
}