@losthalls/config-types 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md ADDED
@@ -0,0 +1 @@
1
+ # config-types
package/index.d.ts ADDED
@@ -0,0 +1,4 @@
1
+
2
+ export * from './schemas.d.ts';
3
+ export * from './settings.d.ts';
4
+ export * from './templates.d.ts';
package/package.json ADDED
@@ -0,0 +1,19 @@
1
+ {
2
+ "name": "@losthalls/config-types",
3
+ "version": "1.0.3",
4
+ "description": "Typings provided by the configuration websites",
5
+ "main": " ",
6
+ "scripts": {
7
+ "test": "echo \"Error: no test specified\" && exit 1"
8
+ },
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "git+https://github.com/LostHalls/config-types.git"
12
+ },
13
+ "author": "Andrew Kerr",
14
+ "license": "ISC",
15
+ "bugs": {
16
+ "url": "https://github.com/LostHalls/config-types/issues"
17
+ },
18
+ "homepage": "https://github.com/LostHalls/config-types#readme"
19
+ }
package/schemas.d.ts ADDED
@@ -0,0 +1,819 @@
1
+ export type SettingsSchema = {
2
+ _id: string;
3
+ name: string;
4
+ settingTypes?: {
5
+ roles: 'array.string' | 'array.int' | 'array.double' | 'array.settings.role' | 'settings.role' | 'discord.role' | 'discord.channel.text' | 'discord.channel.voice' | 'longform';
6
+ channels: 'array.string' | 'array.int' | 'array.double' | 'array.settings.role' | 'settings.role' | 'discord.role' | 'discord.channel.text' | 'discord.channel.voice' | 'longform';
7
+ voice: 'array.string' | 'array.int' | 'array.double' | 'array.settings.role' | 'settings.role' | 'discord.role' | 'discord.channel.text' | 'discord.channel.voice' | 'longform';
8
+ roleHierarchy: 'array.string' | 'array.int' | 'array.double' | 'array.settings.role' | 'settings.role' | 'discord.role' | 'discord.channel.text' | 'discord.channel.voice' | 'longform';
9
+ commands: 'bool';
10
+ commandsRolePermissions: 'array.string' | 'array.int' | 'array.double' | 'array.settings.role' | 'settings.role' | 'discord.role' | 'discord.channel.text' | 'discord.channel.voice' | 'longform';
11
+ voiceprefixes: 'string';
12
+ backend: 'bool';
13
+ numerical: 'int';
14
+ runreqs: 'int';
15
+ autoveri: 'int';
16
+ vetverireqs: 'int';
17
+ points: 'int';
18
+ raiding: 'string';
19
+ lists: 'array.string' | 'array.int' | 'array.double' | 'array.settings.role' | 'settings.role' | 'discord.role' | 'discord.channel.text' | 'discord.channel.voice' | 'longform';
20
+ strings: 'string';
21
+ quotapoints: 'double';
22
+ modmail: 'bool';
23
+ supporter: 'int';
24
+ rolePermissions: 'array.string' | 'array.int' | 'array.double' | 'array.settings.role' | 'settings.role' | 'discord.role' | 'discord.channel.text' | 'discord.channel.voice' | 'longform';
25
+ descriptions: 'longform';
26
+ };
27
+ settings: {
28
+ roles: {
29
+ admin?: string | null;
30
+ moderator?: string | null;
31
+ officer?: string | null;
32
+ headrl?: string | null;
33
+ headdev?: string | null;
34
+ assistantdev?: string | null;
35
+ vetrl?: string | null;
36
+ fsvrl?: string | null;
37
+ mrvrl?: string | null;
38
+ security?: string | null;
39
+ fullskip?: string | null;
40
+ developer?: string | null;
41
+ rl?: string | null;
42
+ almostrl?: string | null;
43
+ trialrl?: string | null;
44
+ headeventrl?: string | null;
45
+ eventrl?: string | null;
46
+ minimumStaffRole?: string | null;
47
+ rusher?: string | null;
48
+ lol?: string | null;
49
+ accursed?: string | null;
50
+ celestial?: string | null;
51
+ vetraider?: string | null;
52
+ vetraider2?: string | null;
53
+ vetraider3?: string | null;
54
+ vetraider4?: string | null;
55
+ vetraider5?: string | null;
56
+ raider?: string | null;
57
+ eventraider?: string | null;
58
+ muted?: string | null;
59
+ tempsuspended?: string | null;
60
+ permasuspended?: string | null;
61
+ tempkey?: string | null;
62
+ keyjesus?: string | null;
63
+ moddedkey?: string | null;
64
+ topkey?: string | null;
65
+ bottomkey?: string | null;
66
+ cultping?: string | null;
67
+ voidping?: string | null;
68
+ shattsReact?: string | null;
69
+ hmShattsReact?: string | null;
70
+ fungalReact?: string | null;
71
+ nestReact?: string | null;
72
+ fskipReact?: string | null;
73
+ fameReact?: string | null;
74
+ accursedReact?: string | null;
75
+ rcPing?: string | null;
76
+ o3Ping?: string | null;
77
+ eventBoi?: string | null;
78
+ veteventrl?: string | null;
79
+ lostboomer?: string | null;
80
+ forgotten?: string | null;
81
+ dumbbots?: string | null;
82
+ priest?: string | null;
83
+ warden?: string | null;
84
+ vetaffiliate?: string | null;
85
+ affiliatestaff?: string | null;
86
+ toprune?: string | null;
87
+ bottomrune?: string | null;
88
+ helper?: string | null;
89
+ steamworksping?: string | null;
90
+ moonlightping?: string | null;
91
+ eventBoiPing?: string | null;
92
+ advancedSteamworksPing?: string | null;
93
+ advancedNestPing?: string | null;
94
+ almostShattersBanner?: string | null;
95
+ almostMoonlightBanner?: string | null;
96
+ almostOryxBanner?: string | null;
97
+ oryxBanner?: string | null;
98
+ veteranOryxBanner?: string | null;
99
+ almostHallsBanner?: string | null;
100
+ hallsBanner?: string | null;
101
+ shattersBanner?: string | null;
102
+ fullskipBanner?: string | null;
103
+ hmShattersBanner?: string | null;
104
+ moonlightBanner?: string | null;
105
+ vetHallsBanner?: string | null;
106
+ vetShattersBanner?: string | null;
107
+ vetFullskipBanner?: string | null;
108
+ vetHmShattersBanner?: string | null;
109
+ vetMoonlightBanner?: string | null;
110
+ trialHallsBanner?: string | null;
111
+ trialFullskipBanner?: string | null;
112
+ trialShattersBanner?: string | null;
113
+ trialOryxBanner?: string | null;
114
+ trialMoonlightBanner?: string | null;
115
+ supporterTierOne?: string | null;
116
+ supporterTierTwo?: string | null;
117
+ supporterTierThree?: string | null;
118
+ supporterTierFour?: string | null;
119
+ supporterTierFive?: string | null;
120
+ supporterTierSix?: string | null;
121
+ unverified?: string | null;
122
+ minimumServerLeaveRole?: string | null;
123
+ fameTrickster?: string | null;
124
+ minimumSupporterCheckRole?: string | null;
125
+ kitsune?: string | null;
126
+ profleader?: string | null;
127
+ spectralPing?: string | null;
128
+ };
129
+ channels: {
130
+ modmail?: string | null;
131
+ verification?: string | null;
132
+ manualverification?: string | null;
133
+ vetverification?: string | null;
134
+ manualvetverification?: string | null;
135
+ verificationlog?: string | null;
136
+ proficientverification?: string | null;
137
+ modlogs?: string | null;
138
+ history?: string | null;
139
+ suspendlog?: string | null;
140
+ rlfeedback?: string | null;
141
+ currentweek?: string | null;
142
+ eventcurrentweek?: string | null;
143
+ pastweeks?: string | null;
144
+ eventpastweeks?: string | null;
145
+ leadinglog?: string | null;
146
+ leaderchat?: string | null;
147
+ vetleaderchat?: string | null;
148
+ parsechannel?: string | null;
149
+ staffcrashingreports?: string | null;
150
+ runlogs?: string | null;
151
+ dmcommands?: string | null;
152
+ veriactive?: string | null;
153
+ pointlogging?: string | null;
154
+ veriattempts?: string | null;
155
+ modmailinfo?: string | null;
156
+ parsecurrentweek?: string | null;
157
+ pastparseweeks?: string | null;
158
+ roleassignment?: string | null;
159
+ botstatus?: string | null;
160
+ keyalerts?: string | null;
161
+ activitylog?: string | null;
162
+ raidingrules?: string | null;
163
+ forwardedModmailMessage?: string | null;
164
+ serverLeaveChannel?: string | null;
165
+ botCommands?: string | null;
166
+ raidingBotCommands?: string | null;
167
+ veteranBotCommands?: string | null;
168
+ adminBotCommands?: string | null;
169
+ officerBotCommands?: string | null;
170
+ headRaidLeaderBotCommands?: string | null;
171
+ securityBotCommands?: string | null;
172
+ accursedlog?: string | null;
173
+ proficiencyverilogs?: string | null;
174
+ perkinfo?: string | null;
175
+ rules?: string | null;
176
+ faq?: string | null;
177
+ raidStatusAnnouncements?: string | null;
178
+ howRaidingWorks?: string | null;
179
+ staffStatus?: string | null;
180
+ };
181
+ voice: {
182
+ lounge?: string | null;
183
+ vetlounge?: string | null;
184
+ eventlounge?: string | null;
185
+ afk?: string | null;
186
+ };
187
+ roleHierarchy: {
188
+ upperStaffRoles?: string;
189
+ staffRoles?: string;
190
+ raiderRoles?: string;
191
+ };
192
+ commands: {
193
+ accursedban?: boolean | null;
194
+ activitycheck?: boolean | null;
195
+ addalt?: boolean | null;
196
+ afk?: boolean | null;
197
+ afkinfo?: boolean | null;
198
+ avatar?: boolean | null;
199
+ ban?: boolean | null;
200
+ celestialban?: boolean | null;
201
+ changelog?: boolean | null;
202
+ changename?: boolean | null;
203
+ check?: boolean | null;
204
+ clean?: boolean | null;
205
+ commend?: boolean | null;
206
+ currentweek?: boolean | null;
207
+ dbinfo?: boolean | null;
208
+ deploy?: boolean | null;
209
+ drag?: boolean | null;
210
+ echo?: boolean | null;
211
+ embed?: boolean | null;
212
+ emoji?: boolean | null;
213
+ eval?: boolean | null;
214
+ eventlb?: boolean | null;
215
+ excuse?: boolean | null;
216
+ find?: boolean | null;
217
+ fling?: boolean | null;
218
+ glape?: boolean | null;
219
+ headcount?: boolean | null;
220
+ commands?: boolean | null;
221
+ id?: boolean | null;
222
+ kick?: boolean | null;
223
+ kitsuneban?: boolean | null;
224
+ leaderboard?: boolean | null;
225
+ list?: boolean | null;
226
+ location?: boolean | null;
227
+ lock?: boolean | null;
228
+ log?: boolean | null;
229
+ manualaccverify?: boolean | null;
230
+ manualceleverify?: boolean | null;
231
+ manualkitsuverify?: boolean | null;
232
+ manualverify?: boolean | null;
233
+ manualvetverify?: boolean | null;
234
+ medals?: boolean | null;
235
+ memes?: boolean | null;
236
+ migrate?: boolean | null;
237
+ modmailblacklist?: boolean | null;
238
+ modmailrespond?: boolean | null;
239
+ mute?: boolean | null;
240
+ mutualmembers?: boolean | null;
241
+ addnote?: boolean | null;
242
+ noteremove?: boolean | null;
243
+ parse?: boolean | null;
244
+ permasuspend?: boolean | null;
245
+ ping?: boolean | null;
246
+ poll?: boolean | null;
247
+ pop?: boolean | null;
248
+ prompts?: boolean | null;
249
+ prunerushers?: boolean | null;
250
+ punishments?: boolean | null;
251
+ purge?: boolean | null;
252
+ puzzle?: boolean | null;
253
+ quota?: boolean | null;
254
+ reload?: boolean | null;
255
+ removealt?: boolean | null;
256
+ removepending?: boolean | null;
257
+ request?: boolean | null;
258
+ restart?: boolean | null;
259
+ roleassignment?: boolean | null;
260
+ russianroulette?: boolean | null;
261
+ script?: boolean | null;
262
+ seppuku?: boolean | null;
263
+ sha?: boolean | null;
264
+ secret?: boolean | null;
265
+ stats?: boolean | null;
266
+ supporter?: boolean | null;
267
+ suspend?: boolean | null;
268
+ suspendremove?: boolean | null;
269
+ sysinfo?: boolean | null;
270
+ templates?: boolean | null;
271
+ test2?: boolean | null;
272
+ test?: boolean | null;
273
+ unaccverify?: boolean | null;
274
+ unban?: boolean | null;
275
+ unceleverify?: boolean | null;
276
+ unkitsuverify?: boolean | null;
277
+ unlock?: boolean | null;
278
+ unmute?: boolean | null;
279
+ unsuspend?: boolean | null;
280
+ unverify?: boolean | null;
281
+ unvetverify?: boolean | null;
282
+ verification?: boolean | null;
283
+ vetverification?: boolean | null;
284
+ vote?: boolean | null;
285
+ warn?: boolean | null;
286
+ warnremove?: boolean | null;
287
+ giveaway?: boolean | null;
288
+ expel?: boolean | null;
289
+ guildmembers?: boolean | null;
290
+ reminder?: boolean | null;
291
+ delete?: boolean | null;
292
+ christmas?: boolean | null;
293
+ transfer?: boolean | null;
294
+ supporterusage?: boolean | null;
295
+ permamute?: boolean | null;
296
+ };
297
+ commandsRolePermissions: {
298
+ accursedban?: string | null;
299
+ activitycheck?: string | null;
300
+ addalt?: string | null;
301
+ afk?: string | null;
302
+ afkinfo?: string | null;
303
+ avatar?: string | null;
304
+ ban?: string | null;
305
+ celestialban?: string | null;
306
+ changelog?: string | null;
307
+ changename?: string | null;
308
+ check?: string | null;
309
+ clean?: string | null;
310
+ commend?: string | null;
311
+ currentweek?: string | null;
312
+ dbinfo?: string | null;
313
+ deploy?: string | null;
314
+ drag?: string | null;
315
+ echo?: string | null;
316
+ embed?: string | null;
317
+ emoji?: string | null;
318
+ eval?: string | null;
319
+ eventlb?: string | null;
320
+ excuse?: string | null;
321
+ find?: string | null;
322
+ fling?: string | null;
323
+ glape?: string | null;
324
+ headcount?: string | null;
325
+ commands?: string | null;
326
+ id?: string | null;
327
+ kick?: string | null;
328
+ kitsuneban?: string | null;
329
+ leaderboard?: string | null;
330
+ list?: string | null;
331
+ location?: string | null;
332
+ lock?: string | null;
333
+ log?: string | null;
334
+ manualaccverify?: string | null;
335
+ manualceleverify?: string | null;
336
+ manualkitsuverify?: string | null;
337
+ manualverify?: string | null;
338
+ manualvetverify?: string | null;
339
+ medals?: string | null;
340
+ memes?: string | null;
341
+ migrate?: string | null;
342
+ modmailblacklist?: string | null;
343
+ modmailrespond?: string | null;
344
+ mute?: string | null;
345
+ mutualmembers?: string | null;
346
+ addnote?: string | null;
347
+ noteremove?: string | null;
348
+ parse?: string | null;
349
+ permasuspend?: string | null;
350
+ ping?: string | null;
351
+ poll?: string | null;
352
+ pop?: string | null;
353
+ prompts?: string | null;
354
+ prunerushers?: string | null;
355
+ punishments?: string | null;
356
+ purge?: string | null;
357
+ puzzle?: string | null;
358
+ quota?: string | null;
359
+ reload?: string | null;
360
+ removealt?: string | null;
361
+ removepending?: string | null;
362
+ request?: string | null;
363
+ restart?: string | null;
364
+ roleassignment?: string | null;
365
+ russianroulette?: string | null;
366
+ script?: string | null;
367
+ seppuku?: string | null;
368
+ sha?: string | null;
369
+ secret?: string | null;
370
+ stats?: string | null;
371
+ supporter?: string | null;
372
+ suspend?: string | null;
373
+ suspendremove?: string | null;
374
+ sysinfo?: string | null;
375
+ templates?: string | null;
376
+ test2?: string | null;
377
+ test?: string | null;
378
+ unaccverify?: string | null;
379
+ unban?: string | null;
380
+ unceleverify?: string | null;
381
+ unkitsuverify?: string | null;
382
+ unlock?: string | null;
383
+ unmute?: string | null;
384
+ unsuspend?: string | null;
385
+ unverify?: string | null;
386
+ unvetverify?: string | null;
387
+ verification?: string | null;
388
+ vetverification?: string | null;
389
+ vote?: string | null;
390
+ warn?: string | null;
391
+ warnremove?: string | null;
392
+ giveaway?: string | null;
393
+ expel?: string | null;
394
+ guildmembers?: string | null;
395
+ reminder?: string | null;
396
+ delete?: string | null;
397
+ christmas?: string | null;
398
+ transfer?: string | null;
399
+ supporterusage?: string | null;
400
+ permamute?: string | null;
401
+ };
402
+ voiceprefixes: {
403
+ raidingprefix?: string | null;
404
+ vetprefix?: string | null;
405
+ };
406
+ backend: {
407
+ modmail?: boolean | null;
408
+ verification?: boolean | null;
409
+ vetverification?: boolean | null;
410
+ points?: boolean | null;
411
+ supporter?: boolean | null;
412
+ roleassignment?: boolean | null;
413
+ realmeyestats?: boolean | null;
414
+ automod?: boolean | null;
415
+ characterparse?: boolean | null;
416
+ forwadedMessageThumbsUpAndDownReactions?: boolean | null;
417
+ giveeventroleonverification?: boolean | null;
418
+ upgradedCheck?: boolean | null;
419
+ sendmissedquota?: boolean | null;
420
+ onlyUpperStaffSuspendStaff?: boolean | null;
421
+ onlyUpperStaffWarnStaff?: boolean | null;
422
+ giveEventRoleOnDenial2?: boolean | null;
423
+ useUnverifiedRole?: boolean | null;
424
+ punishmentsWarnings?: boolean | null;
425
+ punishmentsSuspensions?: boolean | null;
426
+ punishmentsMutes?: boolean | null;
427
+ punishmentsNotes?: boolean | null;
428
+ allowAdditionalCompletes?: boolean | null;
429
+ miniBossGuessing?: boolean | null;
430
+ logServerLeave?: boolean | null;
431
+ isLogAssistsCapped?: boolean | null;
432
+ giveLocationToEarlyVConStart?: boolean | null;
433
+ forceCapForAfksWithScreenshot?: boolean | null;
434
+ customCapForAfksWithScreenshot?: boolean | null;
435
+ };
436
+ numerical: {
437
+ ticketlimit?: number | null;
438
+ supporterlimit?: number | null;
439
+ keyalertsage?: number | null;
440
+ waitnewkeyalert?: number | null;
441
+ prunerushersoffset?: number | null;
442
+ forwardedModmailMessage?: number | null;
443
+ logAssistsCap?: number | null;
444
+ playerCountWarnThreshold?: number | null;
445
+ locDisplayedInReconnectDelay?: number | null;
446
+ };
447
+ runreqs: {
448
+ weapon?: number | null;
449
+ ability?: number | null;
450
+ armor?: number | null;
451
+ ring?: number | null;
452
+ };
453
+ autoveri: {
454
+ fame?: number | null;
455
+ stars?: number | null;
456
+ realmage?: number | null;
457
+ discordage?: number | null;
458
+ deathcount?: number | null;
459
+ };
460
+ vetverireqs: {
461
+ maxed?: number | null;
462
+ meleemaxed?: number | null;
463
+ runs?: number | null;
464
+ };
465
+ points: {
466
+ earlylocation?: number | null;
467
+ perrun?: number | null;
468
+ supportermultiplier?: number | null;
469
+ keypop?: number | null;
470
+ vialpop?: number | null;
471
+ rushing?: number | null;
472
+ brain?: number | null;
473
+ mystic?: number | null;
474
+ eventkey?: number | null;
475
+ o3streaming?: number | null;
476
+ o3trickster?: number | null;
477
+ o3puri?: number | null;
478
+ exaltkey?: number | null;
479
+ shattskey?: number | null;
480
+ fungalkey?: number | null;
481
+ nestkey?: number | null;
482
+ keymultiplier?: number | null;
483
+ runepop?: number | null;
484
+ incpop?: number | null;
485
+ steamworkkey?: number | null;
486
+ moonlightkey?: number | null;
487
+ miniBossGuessingPoints?: number | null;
488
+ penitentiarykey?: number | null;
489
+ locpop?: number | null;
490
+ };
491
+ raiding: {
492
+ category1?: string | null;
493
+ templateChannel1?: string | null;
494
+ statusChannel1?: string | null;
495
+ commandsChannel1?: string | null;
496
+ activeChannel1?: string | null;
497
+ category2?: string | null;
498
+ templateChannel2?: string | null;
499
+ statusChannel2?: string | null;
500
+ commandsChannel2?: string | null;
501
+ activeChannel2?: string | null;
502
+ category3?: string | null;
503
+ templateChannel3?: string | null;
504
+ statusChannel3?: string | null;
505
+ commandsChannel3?: string | null;
506
+ activeChannel3?: string | null;
507
+ category4?: string | null;
508
+ templateChannel4?: string | null;
509
+ statusChannel4?: string | null;
510
+ commandsChannel4?: string | null;
511
+ activeChannel4?: string | null;
512
+ category5?: string | null;
513
+ templateChannel5?: string | null;
514
+ statusChannel5?: string | null;
515
+ commandsChannel5?: string | null;
516
+ activeChannel5?: string | null;
517
+ category6?: string | null;
518
+ templateChannel6?: string | null;
519
+ statusChannel6?: string | null;
520
+ commandsChannel6?: string | null;
521
+ activeChannel6?: string | null;
522
+ category7?: string | null;
523
+ templateChannel7?: string | null;
524
+ statusChannel7?: string | null;
525
+ commandsChannel7?: string | null;
526
+ activeChannel7?: string | null;
527
+ category8?: string | null;
528
+ templateChannel8?: string | null;
529
+ statusChannel8?: string | null;
530
+ commandsChannel8?: string | null;
531
+ activeChannel8?: string | null;
532
+ category9?: string | null;
533
+ templateChannel9?: string | null;
534
+ statusChannel9?: string | null;
535
+ commandsChannel9?: string | null;
536
+ activeChannel9?: string | null;
537
+ category10?: string | null;
538
+ templateChannel10?: string | null;
539
+ statusChannel10?: string | null;
540
+ commandsChannel10?: string | null;
541
+ activeChannel10?: string | null;
542
+ };
543
+ lists: {
544
+ earlyLocation?: string;
545
+ excludeSupporterLocation?: string;
546
+ runningEvents?: string;
547
+ warningRoles?: string;
548
+ perkRoles?: string;
549
+ discordRoles?: string;
550
+ commendRoles?: string;
551
+ activityCheckAllowedChannels?: string;
552
+ hearingImpairedMembers?: string;
553
+ filteredIgns?: string;
554
+ realmCapChoices?: string;
555
+ ignoreChannelCommands?: string;
556
+ raiderCommandsChannelWhitelist?: string;
557
+ suspendingRoles?: string;
558
+ eventTeams?: string;
559
+ eventLeaderboardTrackedStats?: string;
560
+ minibossGuessingOptions?: string;
561
+ parsingCharReplacements?: string;
562
+ };
563
+ strings: {
564
+ hallsAccursedReqsImage?: string | null;
565
+ hallsAdvancedReqsImage?: string | null;
566
+ exaltsAdvancedReqsImage?: string | null;
567
+ hallsExaltedReqsImage?: string | null;
568
+ exaltsExaltedReqsImage?: string | null;
569
+ vetVerifyDeniedMessage?: string | null;
570
+ };
571
+ quotapoints: {
572
+ voidLeading?: number | null;
573
+ cultLeading?: number | null;
574
+ shattersLeading?: number | null;
575
+ oryx3Leading?: number | null;
576
+ fungalLeading?: number | null;
577
+ nestLeading?: number | null;
578
+ steamworkLeading?: number | null;
579
+ eventLeading?: number | null;
580
+ failedRun?: number | null;
581
+ feedback?: number | null;
582
+ feedbackOnFeedback?: number | null;
583
+ assist?: number | null;
584
+ parsing?: number | null;
585
+ rolledquota?: number | null;
586
+ rlWeeklyQuota?: number | null;
587
+ arlWeeklyQuota?: number | null;
588
+ securityWeeklyQuota?: number | null;
589
+ wardenWeeklyQuota?: number | null;
590
+ eventrlWeeklyQuota?: number | null;
591
+ arlVote?: number | null;
592
+ };
593
+ modmail: {
594
+ sendMessage?: boolean | null;
595
+ forwardMessage?: boolean | null;
596
+ closeModmail?: boolean | null;
597
+ blacklistUser?: boolean | null;
598
+ lockModmail?: boolean | null;
599
+ };
600
+ supporter: {
601
+ supporterCooldownSeconds1?: number | null;
602
+ supporterCooldownSeconds2?: number | null;
603
+ supporterCooldownSeconds3?: number | null;
604
+ supporterCooldownSeconds4?: number | null;
605
+ supporterCooldownSeconds5?: number | null;
606
+ supporterCooldownSeconds6?: number | null;
607
+ supporterUses1?: number | null;
608
+ supporterUses2?: number | null;
609
+ supporterUses3?: number | null;
610
+ supporterUses4?: number | null;
611
+ supporterUses5?: number | null;
612
+ supporterUses6?: number | null;
613
+ supporterLimit1?: number | null;
614
+ supporterLimit2?: number | null;
615
+ supporterLimit3?: number | null;
616
+ supporterLimit4?: number | null;
617
+ supporterLimit5?: number | null;
618
+ supporterLimit6?: number | null;
619
+ };
620
+ rolePermissions: {
621
+ punishmentsWarnings?: string | null;
622
+ punishmentsSuspensions?: string | null;
623
+ punishmentsMutes?: string | null;
624
+ punishmentsNotes?: string | null;
625
+ minimumStaffRoleNoKick?: string | null;
626
+ removePermanentMute?: string | null;
627
+ };
628
+ descriptions: {
629
+ veriUnderManualReview?: string;
630
+ veriAccepted?: string;
631
+ veriDenied?: string;
632
+ veriUnprivate?: string;
633
+ veriCancelled?: string;
634
+ veriGraveyardUnloaded?: string;
635
+ veriCurrentlyProcessing?: string;
636
+ veriFetchFailed?: string;
637
+ veriNoVericode?: string;
638
+ verificationMessage?: string;
639
+ };
640
+ checkPanels: {
641
+ [key: string]: boolean | null;
642
+ };
643
+ checkRoles: {
644
+ [key: string]: string | null;
645
+ };
646
+ checkUserExceptions: {
647
+ [key: string]: string | null;
648
+ };
649
+ checkRoleExceptions: {
650
+ [key: string]: string | null;
651
+ };
652
+ removeRoleFromUserWithRoles: {
653
+ [key: string]: string | null;
654
+ };
655
+ addRolesToUsersWithRoles: {
656
+ [key: string]: string | null;
657
+ };
658
+ checkStrings: {
659
+ [key: string]: string | null;
660
+ };
661
+ };
662
+ }
663
+
664
+ export type TemplatesSchema = {
665
+ _id: {
666
+ guildId: string;
667
+ name: string;
668
+ deletionDate?: Date;
669
+ };
670
+ creationDate: Date;
671
+ templateId: number | null;
672
+ enabled: boolean;
673
+ minibossGuessing: boolean;
674
+ capButton: boolean;
675
+ allowsVcless: boolean;
676
+ displayName: string;
677
+ shortName?: string;
678
+ requireScreenshot: 'IGNORED' | 'OPTIONAL' | 'REQUIRED';
679
+ cap: number | null;
680
+ pingRoles: string[];
681
+ aliases: string[];
682
+ logName: string | null;
683
+ vcOptions: 'VC_LESS' | 'STATIC' | 'VC';
684
+ startDelay: number | null;
685
+ color: string;
686
+ guideGif: {
687
+ name: string;
688
+ url: string;
689
+ };
690
+ sections: string[];
691
+ tags: string[];
692
+ loggables: string[];
693
+ body: {
694
+ vcState?: 'LOCKED' | 'OPEN';
695
+ nextPhaseButton?: string;
696
+ timeLimit?: number;
697
+ message?: string;
698
+ embed?: {
699
+ description?: string;
700
+ image?: string;
701
+ thumbnail?: string;
702
+ };
703
+ }[];
704
+ buttons: {
705
+ name: string;
706
+ type: 'JOIN' | 'NORMAL' | 'LOG' | 'SUPPORTER' | 'POINTS' | 'DRAG' | 'OPTION' | 'LOG_SINGLE' | 'PROFICIENCY';
707
+ displayName: boolean;
708
+ enabled: boolean;
709
+ confirm: boolean;
710
+ location: boolean;
711
+ limit: number;
712
+ choice: 'NONE' | 'BOOL' | 'NUMBER_FIXED' | 'NUMBER_CUSTOM';
713
+ minStaffRoles: string[];
714
+ parent: string[];
715
+ points: string | number;
716
+ emote: string;
717
+ confirmationMessage: string;
718
+ confirmationMedia: string;
719
+ disableStart: number;
720
+ start: number;
721
+ lifetime: number;
722
+ color: 'Secondary' | 'Primary' | 'Success' | 'Danger';
723
+ minRoles: string[];
724
+ logOptions: {
725
+ name?: string;
726
+ logName?: string[];
727
+ points?: string | number;
728
+ multiplier?: string | number;
729
+ }[];
730
+ }[];
731
+ reacts: {
732
+ emote: string;
733
+ start: number;
734
+ lifetime: number;
735
+ onHeadcount: boolean;
736
+ }[];
737
+ }
738
+
739
+ export type BodytemplatesSchema = {
740
+ _id: {
741
+ name: string;
742
+ guildId: string;
743
+ };
744
+ parameters: string[];
745
+ body: {
746
+ vcState?: 'LOCKED' | 'OPEN';
747
+ nextPhaseButton?: string;
748
+ timeLimit?: number;
749
+ message?: string;
750
+ embed?: {
751
+ description?: string;
752
+ image?: string;
753
+ thumbnail?: string;
754
+ };
755
+ }[];
756
+ }
757
+
758
+ export type SectionsSchema = {
759
+ _id: {
760
+ guildId: string;
761
+ name: string;
762
+ deletionDate?: Date;
763
+ };
764
+ creationDate: Date;
765
+ parentTemplateId?: number | null;
766
+ capButton: boolean;
767
+ displayUnlockButton?: boolean;
768
+ category: null | string;
769
+ templateChannel: null | string;
770
+ statusChannel: string;
771
+ activeChannel: string;
772
+ commandsChannel: string;
773
+ minViewRaiderRoles: string[];
774
+ minJoinRaiderRoles: string[];
775
+ staffTemplatePermissions: {
776
+ roles: string[];
777
+ templates: string[];
778
+ }[];
779
+ staffTemplateVclessPermissions: {
780
+ roles: string[];
781
+ templates: string[];
782
+ }[];
783
+ baseBody?: {
784
+ vcState?: 'LOCKED' | 'OPEN';
785
+ nextPhaseButton?: string;
786
+ timeLimit?: number;
787
+ message?: string;
788
+ embed?: {
789
+ description?: string;
790
+ image?: string;
791
+ thumbnail?: string;
792
+ };
793
+ }[];
794
+ }
795
+
796
+ export type DraftsSchema = {
797
+ _id: {
798
+ guildId: string;
799
+ name: string;
800
+ deletionDate?: Date;
801
+ };
802
+ groups: {
803
+ name: string;
804
+ members: {
805
+ color: string;
806
+ id: string;
807
+ name: string;
808
+ avatar: string;
809
+ }[];
810
+ }[];
811
+ authors: string[];
812
+ minimumView?: string;
813
+ lastUpdate: Date;
814
+ teams: {
815
+ name: string;
816
+ color: string;
817
+ members: string[];
818
+ }[];
819
+ }
package/settings.d.ts ADDED
@@ -0,0 +1,183 @@
1
+
2
+
3
+ export type RolesType = 'admin' | 'moderator' | 'officer' | 'headrl' | 'headdev' | 'assistantdev' | 'vetrl' | 'fsvrl' | 'mrvrl' | 'security' | 'fullskip' | 'developer' | 'rl' | 'almostrl' | 'trialrl' | 'headeventrl' | 'eventrl' | 'minimumStaffRole' | 'rusher' | 'lol' | 'accursed' | 'celestial' | 'vetraider' | 'vetraider2' | 'vetraider3' | 'vetraider4' | 'vetraider5' | 'raider' | 'eventraider' | 'muted' | 'tempsuspended' | 'permasuspended' | 'tempkey' | 'keyjesus' | 'moddedkey' | 'topkey' | 'bottomkey' | 'cultping' | 'voidping' | 'shattsReact' | 'hmShattsReact' | 'fungalReact' | 'nestReact' | 'fskipReact' | 'fameReact' | 'accursedReact' | 'rcPing' | 'o3Ping' | 'eventBoi' | 'veteventrl' | 'lostboomer' | 'forgotten' | 'dumbbots' | 'priest' | 'warden' | 'vetaffiliate' | 'affiliatestaff' | 'toprune' | 'bottomrune' | 'helper' | 'steamworksping' | 'moonlightping' | 'eventBoiPing' | 'advancedSteamworksPing' | 'advancedNestPing' | 'almostShattersBanner' | 'almostMoonlightBanner' | 'almostOryxBanner' | 'oryxBanner' | 'veteranOryxBanner' | 'almostHallsBanner' | 'hallsBanner' | 'shattersBanner' | 'fullskipBanner' | 'hmShattersBanner' | 'moonlightBanner' | 'vetHallsBanner' | 'vetShattersBanner' | 'vetFullskipBanner' | 'vetHmShattersBanner' | 'vetMoonlightBanner' | 'trialHallsBanner' | 'trialFullskipBanner' | 'trialShattersBanner' | 'trialOryxBanner' | 'trialMoonlightBanner' | 'supporterTierOne' | 'supporterTierTwo' | 'supporterTierThree' | 'supporterTierFour' | 'supporterTierFive' | 'supporterTierSix' | 'unverified' | 'minimumServerLeaveRole' | 'fameTrickster' | 'minimumSupporterCheckRole' | 'kitsune' | 'profleader' | 'spectralPing';
4
+
5
+ export type RolesSettings = {
6
+ [key in RolesType]: string;
7
+ } & { [key: string]: string };
8
+
9
+
10
+ export type ChannelsType = 'modmail' | 'verification' | 'manualverification' | 'vetverification' | 'manualvetverification' | 'verificationlog' | 'proficientverification' | 'modlogs' | 'history' | 'suspendlog' | 'rlfeedback' | 'currentweek' | 'eventcurrentweek' | 'pastweeks' | 'eventpastweeks' | 'leadinglog' | 'leaderchat' | 'vetleaderchat' | 'parsechannel' | 'staffcrashingreports' | 'runlogs' | 'dmcommands' | 'veriactive' | 'pointlogging' | 'veriattempts' | 'modmailinfo' | 'parsecurrentweek' | 'pastparseweeks' | 'roleassignment' | 'botstatus' | 'keyalerts' | 'activitylog' | 'raidingrules' | 'forwardedModmailMessage' | 'serverLeaveChannel' | 'botCommands' | 'raidingBotCommands' | 'veteranBotCommands' | 'adminBotCommands' | 'officerBotCommands' | 'headRaidLeaderBotCommands' | 'securityBotCommands' | 'accursedlog' | 'proficiencyverilogs' | 'perkinfo' | 'rules' | 'faq' | 'raidStatusAnnouncements' | 'howRaidingWorks' | 'staffStatus';
11
+
12
+ export type ChannelsSettings = {
13
+ [key in ChannelsType]: string;
14
+ } & { [key: string]: string };
15
+
16
+
17
+ export type VoiceType = 'lounge' | 'vetlounge' | 'eventlounge' | 'afk';
18
+
19
+ export type VoiceSettings = {
20
+ [key in VoiceType]: string;
21
+ } & { [key: string]: string };
22
+
23
+
24
+ export type RoleHierarchyType = 'upperStaffRoles' | 'staffRoles' | 'raiderRoles';
25
+
26
+ export type RoleHierarchySettings = {
27
+ [key in RoleHierarchyType]: string[];
28
+ } & { [key: string]: string[] };
29
+
30
+
31
+ export type CommandsType = 'accursedban' | 'activitycheck' | 'addalt' | 'afk' | 'afkinfo' | 'avatar' | 'ban' | 'celestialban' | 'changelog' | 'changename' | 'check' | 'clean' | 'commend' | 'currentweek' | 'dbinfo' | 'deploy' | 'drag' | 'echo' | 'embed' | 'emoji' | 'eval' | 'eventlb' | 'excuse' | 'find' | 'fling' | 'glape' | 'headcount' | 'commands' | 'id' | 'kick' | 'kitsuneban' | 'leaderboard' | 'list' | 'location' | 'lock' | 'log' | 'manualaccverify' | 'manualceleverify' | 'manualkitsuverify' | 'manualverify' | 'manualvetverify' | 'medals' | 'memes' | 'migrate' | 'modmailblacklist' | 'modmailrespond' | 'mute' | 'mutualmembers' | 'addnote' | 'noteremove' | 'parse' | 'permasuspend' | 'ping' | 'poll' | 'pop' | 'prompts' | 'prunerushers' | 'punishments' | 'purge' | 'puzzle' | 'quota' | 'reload' | 'removealt' | 'removepending' | 'request' | 'restart' | 'roleassignment' | 'russianroulette' | 'script' | 'seppuku' | 'sha' | 'secret' | 'stats' | 'supporter' | 'suspend' | 'suspendremove' | 'sysinfo' | 'templates' | 'test2' | 'test' | 'unaccverify' | 'unban' | 'unceleverify' | 'unkitsuverify' | 'unlock' | 'unmute' | 'unsuspend' | 'unverify' | 'unvetverify' | 'verification' | 'vetverification' | 'vote' | 'warn' | 'warnremove' | 'giveaway' | 'expel' | 'guildmembers' | 'reminder' | 'delete' | 'christmas' | 'transfer' | 'supporterusage' | 'permamute';
32
+
33
+ export type CommandsSettings = {
34
+ [key in CommandsType]: boolean;
35
+ } & { [key: string]: boolean };
36
+
37
+
38
+ export type CommandsRolePermissionsType = 'accursedban' | 'activitycheck' | 'addalt' | 'afk' | 'afkinfo' | 'avatar' | 'ban' | 'celestialban' | 'changelog' | 'changename' | 'check' | 'clean' | 'commend' | 'currentweek' | 'dbinfo' | 'deploy' | 'drag' | 'echo' | 'embed' | 'emoji' | 'eval' | 'eventlb' | 'excuse' | 'find' | 'fling' | 'glape' | 'headcount' | 'commands' | 'id' | 'kick' | 'kitsuneban' | 'leaderboard' | 'list' | 'location' | 'lock' | 'log' | 'manualaccverify' | 'manualceleverify' | 'manualkitsuverify' | 'manualverify' | 'manualvetverify' | 'medals' | 'memes' | 'migrate' | 'modmailblacklist' | 'modmailrespond' | 'mute' | 'mutualmembers' | 'addnote' | 'noteremove' | 'parse' | 'permasuspend' | 'ping' | 'poll' | 'pop' | 'prompts' | 'prunerushers' | 'punishments' | 'purge' | 'puzzle' | 'quota' | 'reload' | 'removealt' | 'removepending' | 'request' | 'restart' | 'roleassignment' | 'russianroulette' | 'script' | 'seppuku' | 'sha' | 'secret' | 'stats' | 'supporter' | 'suspend' | 'suspendremove' | 'sysinfo' | 'templates' | 'test2' | 'test' | 'unaccverify' | 'unban' | 'unceleverify' | 'unkitsuverify' | 'unlock' | 'unmute' | 'unsuspend' | 'unverify' | 'unvetverify' | 'verification' | 'vetverification' | 'vote' | 'warn' | 'warnremove' | 'giveaway' | 'expel' | 'guildmembers' | 'reminder' | 'delete' | 'christmas' | 'transfer' | 'supporterusage' | 'permamute';
39
+
40
+ export type CommandsRolePermissionsSettings = {
41
+ [key in CommandsRolePermissionsType]: RolesType;
42
+ } & { [key: string]: RolesType };
43
+
44
+
45
+ export type VoiceprefixesType = 'raidingprefix' | 'vetprefix';
46
+
47
+ export type VoiceprefixesSettings = {
48
+ [key in VoiceprefixesType]: string;
49
+ } & { [key: string]: string };
50
+
51
+
52
+ export type BackendType = 'modmail' | 'verification' | 'vetverification' | 'points' | 'supporter' | 'roleassignment' | 'realmeyestats' | 'automod' | 'characterparse' | 'forwadedMessageThumbsUpAndDownReactions' | 'giveeventroleonverification' | 'upgradedCheck' | 'sendmissedquota' | 'onlyUpperStaffSuspendStaff' | 'onlyUpperStaffWarnStaff' | 'giveEventRoleOnDenial2' | 'useUnverifiedRole' | 'punishmentsWarnings' | 'punishmentsSuspensions' | 'punishmentsMutes' | 'punishmentsNotes' | 'allowAdditionalCompletes' | 'miniBossGuessing' | 'logServerLeave' | 'isLogAssistsCapped' | 'giveLocationToEarlyVConStart' | 'forceCapForAfksWithScreenshot' | 'customCapForAfksWithScreenshot';
53
+
54
+ export type BackendSettings = {
55
+ [key in BackendType]: boolean;
56
+ } & { [key: string]: boolean };
57
+
58
+
59
+ export type NumericalType = 'ticketlimit' | 'supporterlimit' | 'keyalertsage' | 'waitnewkeyalert' | 'prunerushersoffset' | 'forwardedModmailMessage' | 'logAssistsCap' | 'playerCountWarnThreshold' | 'locDisplayedInReconnectDelay';
60
+
61
+ export type NumericalSettings = {
62
+ [key in NumericalType]: number;
63
+ } & { [key: string]: number };
64
+
65
+
66
+ export type RunreqsType = 'weapon' | 'ability' | 'armor' | 'ring';
67
+
68
+ export type RunreqsSettings = {
69
+ [key in RunreqsType]: number;
70
+ } & { [key: string]: number };
71
+
72
+
73
+ export type AutoveriType = 'fame' | 'stars' | 'realmage' | 'discordage' | 'deathcount';
74
+
75
+ export type AutoveriSettings = {
76
+ [key in AutoveriType]: number;
77
+ } & { [key: string]: number };
78
+
79
+
80
+ export type VetverireqsType = 'maxed' | 'meleemaxed' | 'runs';
81
+
82
+ export type VetverireqsSettings = {
83
+ [key in VetverireqsType]: number;
84
+ } & { [key: string]: number };
85
+
86
+
87
+ export type PointsType = 'earlylocation' | 'perrun' | 'supportermultiplier' | 'keypop' | 'vialpop' | 'rushing' | 'brain' | 'mystic' | 'eventkey' | 'o3streaming' | 'o3trickster' | 'o3puri' | 'exaltkey' | 'shattskey' | 'fungalkey' | 'nestkey' | 'keymultiplier' | 'runepop' | 'incpop' | 'steamworkkey' | 'moonlightkey' | 'miniBossGuessingPoints' | 'penitentiarykey' | 'locpop';
88
+
89
+ export type PointsSettings = {
90
+ [key in PointsType]: number;
91
+ } & { [key: string]: number };
92
+
93
+
94
+ export type RaidingType = 'category1' | 'templateChannel1' | 'statusChannel1' | 'commandsChannel1' | 'activeChannel1' | 'category2' | 'templateChannel2' | 'statusChannel2' | 'commandsChannel2' | 'activeChannel2' | 'category3' | 'templateChannel3' | 'statusChannel3' | 'commandsChannel3' | 'activeChannel3' | 'category4' | 'templateChannel4' | 'statusChannel4' | 'commandsChannel4' | 'activeChannel4' | 'category5' | 'templateChannel5' | 'statusChannel5' | 'commandsChannel5' | 'activeChannel5' | 'category6' | 'templateChannel6' | 'statusChannel6' | 'commandsChannel6' | 'activeChannel6' | 'category7' | 'templateChannel7' | 'statusChannel7' | 'commandsChannel7' | 'activeChannel7' | 'category8' | 'templateChannel8' | 'statusChannel8' | 'commandsChannel8' | 'activeChannel8' | 'category9' | 'templateChannel9' | 'statusChannel9' | 'commandsChannel9' | 'activeChannel9' | 'category10' | 'templateChannel10' | 'statusChannel10' | 'commandsChannel10' | 'activeChannel10';
95
+
96
+ export type RaidingSettings = {
97
+ [key in RaidingType]: string;
98
+ } & { [key: string]: string };
99
+
100
+
101
+ export type ListsType = 'earlyLocation' | 'excludeSupporterLocation' | 'runningEvents' | 'warningRoles' | 'perkRoles' | 'discordRoles' | 'commendRoles' | 'activityCheckAllowedChannels' | 'hearingImpairedMembers' | 'filteredIgns' | 'realmCapChoices' | 'ignoreChannelCommands' | 'raiderCommandsChannelWhitelist' | 'suspendingRoles' | 'eventTeams' | 'eventLeaderboardTrackedStats' | 'minibossGuessingOptions' | 'parsingCharReplacements';
102
+
103
+ export type ListsSettings = {
104
+ [key in ListsType]: string[];
105
+ } & { [key: string]: string[] };
106
+
107
+
108
+ export type StringsType = 'hallsAccursedReqsImage' | 'hallsAdvancedReqsImage' | 'exaltsAdvancedReqsImage' | 'hallsExaltedReqsImage' | 'exaltsExaltedReqsImage' | 'vetVerifyDeniedMessage';
109
+
110
+ export type StringsSettings = {
111
+ [key in StringsType]: string;
112
+ } & { [key: string]: string };
113
+
114
+
115
+ export type QuotapointsType = 'voidLeading' | 'cultLeading' | 'shattersLeading' | 'oryx3Leading' | 'fungalLeading' | 'nestLeading' | 'steamworkLeading' | 'eventLeading' | 'failedRun' | 'feedback' | 'feedbackOnFeedback' | 'assist' | 'parsing' | 'rolledquota' | 'rlWeeklyQuota' | 'arlWeeklyQuota' | 'securityWeeklyQuota' | 'wardenWeeklyQuota' | 'eventrlWeeklyQuota' | 'arlVote';
116
+
117
+ export type QuotapointsSettings = {
118
+ [key in QuotapointsType]: number;
119
+ } & { [key: string]: number };
120
+
121
+
122
+ export type ModmailType = 'sendMessage' | 'forwardMessage' | 'closeModmail' | 'blacklistUser' | 'lockModmail';
123
+
124
+ export type ModmailSettings = {
125
+ [key in ModmailType]: boolean;
126
+ } & { [key: string]: boolean };
127
+
128
+
129
+ export type SupporterType = 'supporterCooldownSeconds1' | 'supporterCooldownSeconds2' | 'supporterCooldownSeconds3' | 'supporterCooldownSeconds4' | 'supporterCooldownSeconds5' | 'supporterCooldownSeconds6' | 'supporterUses1' | 'supporterUses2' | 'supporterUses3' | 'supporterUses4' | 'supporterUses5' | 'supporterUses6' | 'supporterLimit1' | 'supporterLimit2' | 'supporterLimit3' | 'supporterLimit4' | 'supporterLimit5' | 'supporterLimit6';
130
+
131
+ export type SupporterSettings = {
132
+ [key in SupporterType]: number;
133
+ } & { [key: string]: number };
134
+
135
+
136
+ export type RolePermissionsType = 'punishmentsWarnings' | 'punishmentsSuspensions' | 'punishmentsMutes' | 'punishmentsNotes' | 'minimumStaffRoleNoKick' | 'removePermanentMute';
137
+
138
+ export type RolePermissionsSettings = {
139
+ [key in RolePermissionsType]: RolesType;
140
+ } & { [key: string]: RolesType };
141
+
142
+
143
+ export type DescriptionsType = 'veriUnderManualReview' | 'veriAccepted' | 'veriDenied' | 'veriUnprivate' | 'veriCancelled' | 'veriGraveyardUnloaded' | 'veriCurrentlyProcessing' | 'veriFetchFailed' | 'veriNoVericode' | 'verificationMessage';
144
+
145
+ export type DescriptionsSettings = {
146
+ [key in DescriptionsType]: string;
147
+ } & { [key: string]: string };
148
+
149
+
150
+ export type GuildSettings = {
151
+ roles: RolesSettings;
152
+ channels: ChannelsSettings;
153
+ voice: VoiceSettings;
154
+ roleHierarchy: RoleHierarchySettings;
155
+ commands: CommandsSettings;
156
+ commandsRolePermissions: CommandsRolePermissionsSettings;
157
+ voiceprefixes: VoiceprefixesSettings;
158
+ backend: BackendSettings;
159
+ numerical: NumericalSettings;
160
+ runreqs: RunreqsSettings;
161
+ autoveri: AutoveriSettings;
162
+ vetverireqs: VetverireqsSettings;
163
+ points: PointsSettings;
164
+ raiding: RaidingSettings;
165
+ lists: ListsSettings;
166
+ strings: StringsSettings;
167
+ quotapoints: QuotapointsSettings;
168
+ modmail: ModmailSettings;
169
+ supporter: SupporterSettings;
170
+ rolePermissions: RolePermissionsSettings;
171
+ descriptions: DescriptionsSettings;
172
+ checkPanels: { [key: string]: boolean };
173
+ checkRoles: { [key: string]: string[] };
174
+ checkUserExceptions: { [key: string]: string[] };
175
+ checkRoleExceptions: { [key: string]: string[] };
176
+ removeRoleFromUserWithRoles: { [key: string]: string[] };
177
+ addRolesToUsersWithRoles: { [key: string]: string[] };
178
+ checkStrings: { [key: string]: string };
179
+ };
180
+
181
+ export type Settings = {
182
+ [guildId: string]: GuildSettings
183
+ };
package/templates.d.ts ADDED
@@ -0,0 +1,103 @@
1
+ export type TemplateAliases = string[];
2
+
3
+ export type TemplatesList = {
4
+ templateName: string;
5
+ allowVcless: boolean;
6
+ allowNonVcless: boolean;
7
+ aliases: string[];
8
+ tags: string[];
9
+ sectionNames: string[];
10
+ reacts: TemplateReact[];
11
+ displayName: string;
12
+ shortName: string;
13
+ loggables: string[];
14
+ }[];
15
+
16
+ export type TemplateButton = {
17
+ name: string;
18
+ type: 'JOIN' | 'NORMAL' | 'LOG' | 'SUPPORTER' | 'POINTS' | 'DRAG' | 'OPTION' | 'LOG_SINGLE' | 'PROFICIENCY';
19
+ displayName: boolean;
20
+ enabled: boolean;
21
+ confirm: boolean;
22
+ location: boolean;
23
+ limit: number;
24
+ choice: 'NONE' | 'BOOL' | 'NUMBER_FIXED' | 'NUMBER_CUSTOM';
25
+ minStaffRoles: string[];
26
+ parent: string[];
27
+ points: string | number;
28
+ emote: string;
29
+ confirmationMessage: string;
30
+ confirmationMedia: string;
31
+ disableStart: number;
32
+ start: number;
33
+ lifetime: number;
34
+ color: 'Secondary' | 'Primary' | 'Success' | 'Danger';
35
+ minRoles: string[];
36
+ logOptions: {
37
+ name?: string;
38
+ logName?: string[];
39
+ points?: string | number;
40
+ multiplier?: string | number;
41
+ }[];
42
+ }
43
+
44
+ export type TemplateReact = {
45
+ emote: string;
46
+ start: number;
47
+ lifetime: number;
48
+ onHeadcount: boolean;
49
+ }
50
+
51
+ export type TemplateBody = {
52
+ vcState?: 'LOCKED' | 'OPEN';
53
+ nextPhaseButton?: string;
54
+ timeLimit?: number;
55
+ message?: string;
56
+ embed?: {
57
+ description?: string;
58
+ image?: string;
59
+ thumbnail?: string;
60
+ };
61
+ }
62
+
63
+ export type Template = {
64
+ templateId: number | null;
65
+ enabled: boolean;
66
+ minibossGuessing: boolean;
67
+ capButton: boolean;
68
+ allowsVcless: boolean;
69
+ shortName?: string;
70
+ requireScreenshot: 'IGNORED' | 'OPTIONAL' | 'REQUIRED';
71
+ cap: number | null;
72
+ pingRoles: string[];
73
+ aliases: string[];
74
+ logName: string | null;
75
+ vcOptions: 'VC_LESS' | 'STATIC' | 'VC';
76
+ startDelay: number | null;
77
+ color: string;
78
+ guideGif: {
79
+ name: string;
80
+ url: string;
81
+ };
82
+ sections: string[];
83
+ tags: string[];
84
+ loggables: string[];
85
+ body: TemplateBody[];
86
+ buttons: TemplateButton[];
87
+ reacts: TemplateReact[];
88
+ templateName: string;
89
+ name: string;
90
+ category: string;
91
+ phases: number;
92
+ templateChannel: string;
93
+ activeChannel: string;
94
+ statusChannel: string;
95
+ commandsChannel: string;
96
+ minJoinRaiderRoles: string[];
97
+ minViewRaiderRoles: string[];
98
+ minStaffRoles: string[][];
99
+ parentTemplateId: number;
100
+ displayUnlockButton: boolean;
101
+ sectionName: string;
102
+ allowsNonVcless: boolean;
103
+ }