blob: 50cb6c6cb1eb4559bdeb7f5be1484bce73ecebe9 [file] [log] [blame]
pineafan32767212022-03-14 21:27:39 +00001
2export default async function readConfig(guild: string): Promise<any> {
3
pineafan377794f2022-04-18 19:01:01 +01004 let config = {
5 singleEventNotifications: {
6 statsChannelDeleted: false
7 },
8 filters: {
9 images: {
10 NSFW: true,
11 size: true
12 },
13 malware: true,
14 wordFilter: {
15 enabled: true,
16 words: {
17 strict: [],
18 loose: []
19 },
20 allowed: {
21 users: [],
22 roles: [],
23 channels: []
24 }
25 },
26 invite: {
27 enabled: false,
28 allowed: {
29 users: [],
30 channels: [],
31 roles: []
32 }
33 },
34 pings: {
35 mass: 5,
36 everyone: true,
37 roles: true,
38 allowed: {
39 roles: [],
40 rolesToMention: [],
41 users: [],
42 channels: []
43 }
44 }
45 },
46 welcome: {
47 enabled: true,
48 verificationRequired: {
49 message: false,
50 role: false
51 },
52 welcomeRole: null,
53 channel: '895209752315961344', // null, channel ID or 'dm'
54 message: "Welcome to the server, {@}!"
55 },
56 stats: [
57 {
58 enabled: true,
59 channel: '951910554291818526',
60 text: "{count} members | {count:bots} bots | {count:humans} humans"
61 }
62 ],
63 logging: {
64 logs: {
65 enabled: true,
66 channel: '952247098437427260',
67 toLog: "3fffff" // "3ffffe" = - channelUpdate, "3fffff" = all
68 },
69 staff: {
70 channel: "895212366252367933"
71 }
72 },
73 verify: {
74 enabled: true,
75 role: '934941369137524816',
76 },
77 tickets: {
78 enabled: true,
79 category: "952302254302584932",
80 types: "3f",
81 customTypes: null,
82 supportRole: null,
83 maxTickets: 5
84 },
85 moderation: {
86 mute: {
87 timeout: true,
pineafane625d782022-05-09 18:04:32 +010088 role: "934941369137524816", // TODO: Remove this role after the time
pineafan377794f2022-04-18 19:01:01 +010089 text: null,
90 link: null
91 },
92 kick: {
93 text: "Appeal here",
pineafane625d782022-05-09 18:04:32 +010094 link: "https://clicks.codes"
pineafan377794f2022-04-18 19:01:01 +010095 },
96 ban: {
97 text: null,
98 link: null
99 },
100 softban: {
101 text: null,
102 link: null
103 },
104 warn: {
105 text: null,
106 link: null
107 },
108 role: {
109 role: "934941369137524816"
110 },
111 },
112 tracks: [
113 {
114 name: "Moderation",
115 retainPrevious: false,
116 nullable: true,
117 track: [
118 "934941369137524816",
119 "934941399806246984",
120 "934941408849186856",
121 "934941466734764092"
122 ],
123 manageableBy: []
124 },
125 {
126 name: "Verification",
127 retainPrevious: false,
128 nullable: true,
129 track: [
130 "963166531318067250"
131 ],
132 manageableBy: []
133 }
134 ],
135 roleMenu: {
136 enabled: true,
137 allowWebUI: true,
138 options: [
139 {
140 name: "Gender",
141 description: "What's your gender?",
142 min: 1,
143 max: 1,
144 options: [
145 { name: "Male", role: "959901318019948574" },
146 { name: "Female", role: "959901346000154674" },
147 { name: "Non Binary", description: "Better than the others", role: "959901378363420704"}
148 ]
149 },
150 {
151 name: "Pick",
152 min: 0,
153 max: 4,
154 options: [
155 { name: "Test Role 1", role: "934941369137524816" },
156 { name: "Test Role 2", role: "934941399806246984" },
157 { name: "Test Role 3", role: "934941408849186856" },
158 { name: "Test Role 4", role: "934941466734764092" }
159 ]
160 }
161 ]
162 }
163 };
164 return config;
165}