/[sudobot]/trunk/config/schema/config.json
ViewVC logotype

Annotation of /trunk/config/schema/config.json

Parent Directory Parent Directory | Revision Log Revision Log


Revision 575 - (hide annotations)
Mon Jul 29 17:59:26 2024 UTC (8 months ago) by rakinar2
File MIME type: application/json
File size: 166444 byte(s)
chore: add trunk
1 rakinar2 575 {
2     "type": "object",
3     "additionalProperties": {
4     "anyOf": [
5     {
6     "anyOf": [
7     {
8     "not": {}
9     },
10     {
11     "type": "object",
12     "properties": {
13     "prefix": {
14     "type": "string",
15     "default": "-"
16     },
17     "debug_mode": {
18     "type": "boolean",
19     "default": false
20     },
21     "commands": {
22     "type": "object",
23     "properties": {
24     "mention_prefix": {
25     "type": "boolean",
26     "default": true
27     },
28     "moderation_command_behavior": {
29     "type": "string",
30     "enum": [
31     "delete",
32     "default"
33     ],
34     "default": "default"
35     },
36     "rerun_on_edit": {
37     "type": "boolean",
38     "default": false
39     },
40     "channels": {
41     "type": "object",
42     "properties": {
43     "list": {
44     "type": "array",
45     "items": {},
46     "default": []
47     },
48     "mode": {
49     "type": "string",
50     "enum": [
51     "exclude",
52     "include"
53     ],
54     "default": "exclude"
55     }
56     },
57     "additionalProperties": false,
58     "default": {}
59     },
60     "disabled_commands": {
61     "type": "array",
62     "items": {
63     "type": "string"
64     },
65     "default": []
66     },
67     "respond_on_precondition_fail": {
68     "type": "boolean",
69     "default": true
70     },
71     "ratelimiting": {
72     "type": "object",
73     "properties": {
74     "enabled": {
75     "type": "boolean",
76     "default": true
77     },
78     "timeframe": {
79     "type": "integer",
80     "default": 7000
81     },
82     "max_attempts": {
83     "type": "integer",
84     "default": 5
85     },
86     "block_duration": {
87     "type": "integer",
88     "default": 1000
89     },
90     "overrides": {
91     "type": "object",
92     "additionalProperties": {
93     "type": "object",
94     "properties": {
95     "enabled": {
96     "type": "boolean",
97     "default": true
98     },
99     "timeframe": {
100     "type": "integer",
101     "default": 7000
102     },
103     "max_attempts": {
104     "type": "integer",
105     "default": 5
106     },
107     "block_duration": {
108     "type": "integer",
109     "default": 1000
110     }
111     },
112     "additionalProperties": false
113     },
114     "default": {}
115     }
116     },
117     "additionalProperties": false
118     }
119     },
120     "additionalProperties": false,
121     "default": {}
122     },
123     "permissions": {
124     "type": "object",
125     "properties": {
126     "invincible": {
127     "type": "object",
128     "properties": {
129     "roles": {
130     "type": "array",
131     "items": {
132     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/commands/properties/channels/properties/list/items"
133     },
134     "default": []
135     },
136     "users": {
137     "type": "array",
138     "items": {
139     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/commands/properties/channels/properties/list/items"
140     },
141     "default": []
142     }
143     },
144     "additionalProperties": false
145     },
146     "mode": {
147     "type": "string",
148     "enum": [
149     "discord",
150     "levels",
151     "layered"
152     ],
153     "default": "discord"
154     },
155     "check_discord_permissions": {
156     "type": "string",
157     "enum": [
158     "always",
159     "during_automod",
160     "during_manual_actions",
161     "never"
162     ],
163     "default": "always"
164     },
165     "command_permission_mode": {
166     "type": "string",
167     "enum": [
168     "ignore",
169     "overwrite",
170     "check"
171     ]
172     }
173     },
174     "additionalProperties": false,
175     "default": {}
176     },
177     "echoing": {
178     "type": "object",
179     "properties": {
180     "allow_mentions": {
181     "type": "boolean",
182     "default": true
183     }
184     },
185     "additionalProperties": false
186     },
187     "infractions": {
188     "type": "object",
189     "properties": {
190     "send_ids_to_user": {
191     "type": "boolean",
192     "default": false
193     },
194     "dm_fallback": {
195     "type": "string",
196     "enum": [
197     "none",
198     "create_channel",
199     "create_thread"
200     ],
201     "default": "none"
202     },
203     "dm_fallback_parent_channel": {
204     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/commands/properties/channels/properties/list/items"
205     },
206     "dm_fallback_channel_expires_in": {
207     "type": "integer",
208     "default": 604800000
209     },
210     "reason_templates": {
211     "type": "object",
212     "additionalProperties": {
213     "type": "string",
214     "minLength": 1
215     },
216     "propertyNames": {
217     "pattern": "^[A-Za-z0-9_-]+$"
218     },
219     "description": "A record of reason templates. The key is the name of the template, and the value is the template itself.",
220     "default": {}
221     },
222     "reason_template_placeholder_wrapper": {
223     "type": "string",
224     "default": "{{%name%}}"
225     },
226     "points": {
227     "type": "object",
228     "properties": {
229     "warning": {
230     "type": "integer",
231     "default": 1
232     },
233     "mute": {
234     "type": "integer",
235     "default": 3
236     },
237     "timeout": {
238     "type": "integer",
239     "default": 3
240     },
241     "kick": {
242     "type": "integer",
243     "default": 5
244     },
245     "ban": {
246     "type": "integer",
247     "default": 10
248     },
249     "tempban": {
250     "type": "integer",
251     "default": 8
252     },
253     "softban": {
254     "type": "integer",
255     "default": 7
256     },
257     "unban": {
258     "type": "integer",
259     "default": 0
260     },
261     "note": {
262     "type": "integer",
263     "default": 0
264     },
265     "clear": {
266     "type": "integer",
267     "default": 0
268     },
269     "role": {
270     "type": "integer",
271     "default": 0
272     },
273     "mod_message": {
274     "type": "integer",
275     "default": 2
276     },
277     "massban": {
278     "type": "integer",
279     "default": 10
280     },
281     "masskick": {
282     "type": "integer",
283     "default": 5
284     }
285     },
286     "additionalProperties": false,
287     "default": {}
288     }
289     },
290     "additionalProperties": false,
291     "default": {}
292     },
293     "antispam": {
294     "type": "object",
295     "properties": {
296     "enabled": {
297     "type": "boolean",
298     "default": false
299     },
300     "limit": {
301     "type": "integer",
302     "minimum": 1
303     },
304     "timeframe": {
305     "type": "integer",
306     "minimum": 1
307     },
308     "channels": {
309     "type": "object",
310     "properties": {
311     "list": {
312     "type": "array",
313     "items": {
314     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/commands/properties/channels/properties/list/items"
315     },
316     "default": []
317     },
318     "mode": {
319     "type": "string",
320     "enum": [
321     "exclude",
322     "include"
323     ],
324     "default": "exclude"
325     }
326     },
327     "additionalProperties": false,
328     "default": {}
329     },
330     "actions": {
331     "type": "array",
332     "items": {
333     "anyOf": [
334     {
335     "type": "object",
336     "properties": {
337     "reason": {
338     "type": "string"
339     },
340     "notify": {
341     "type": "boolean"
342     },
343     "type": {
344     "type": "string",
345     "const": "ban"
346     },
347     "delete_timeframe": {
348     "type": "integer",
349     "minimum": 0,
350     "maximum": 604800000
351     },
352     "duration": {
353     "type": "integer",
354     "minimum": 0
355     }
356     },
357     "required": [
358     "type",
359     "duration"
360     ],
361     "additionalProperties": false
362     },
363     {
364     "type": "object",
365     "properties": {
366     "reason": {
367     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/antispam/properties/actions/items/anyOf/0/properties/reason"
368     },
369     "notify": {
370     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/antispam/properties/actions/items/anyOf/0/properties/notify"
371     },
372     "type": {
373     "type": "string",
374     "const": "kick"
375     }
376     },
377     "required": [
378     "type"
379     ],
380     "additionalProperties": false
381     },
382     {
383     "type": "object",
384     "properties": {
385     "reason": {
386     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/antispam/properties/actions/items/anyOf/0/properties/reason"
387     },
388     "notify": {
389     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/antispam/properties/actions/items/anyOf/0/properties/notify"
390     },
391     "type": {
392     "type": "string",
393     "const": "mute"
394     },
395     "duration": {
396     "type": "integer",
397     "minimum": 0
398     }
399     },
400     "required": [
401     "type"
402     ],
403     "additionalProperties": false
404     },
405     {
406     "type": "object",
407     "properties": {
408     "reason": {
409     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/antispam/properties/actions/items/anyOf/0/properties/reason"
410     },
411     "notify": {
412     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/antispam/properties/actions/items/anyOf/0/properties/notify"
413     },
414     "type": {
415     "type": "string",
416     "const": "role"
417     },
418     "mode": {
419     "type": "string",
420     "enum": [
421     "give",
422     "take"
423     ]
424     },
425     "roles": {
426     "type": "array",
427     "items": {
428     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/commands/properties/channels/properties/list/items"
429     }
430     },
431     "duration": {
432     "type": "integer",
433     "minimum": 0
434     }
435     },
436     "required": [
437     "type",
438     "mode",
439     "roles"
440     ],
441     "additionalProperties": false
442     },
443     {
444     "type": "object",
445     "properties": {
446     "type": {
447     "type": "string",
448     "const": "none"
449     }
450     },
451     "required": [
452     "type"
453     ],
454     "additionalProperties": false
455     },
456     {
457     "type": "object",
458     "properties": {
459     "reason": {
460     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/antispam/properties/actions/items/anyOf/0/properties/reason"
461     },
462     "notify": {
463     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/antispam/properties/actions/items/anyOf/0/properties/notify"
464     },
465     "type": {
466     "type": "string",
467     "const": "warn"
468     }
469     },
470     "required": [
471     "type"
472     ],
473     "additionalProperties": false
474     },
475     {
476     "type": "object",
477     "properties": {
478     "notify": {
479     "type": "boolean",
480     "const": true,
481     "default": true
482     },
483     "type": {
484     "type": "string",
485     "const": "verbal_warn"
486     },
487     "reason": {
488     "type": "string"
489     }
490     },
491     "required": [
492     "type"
493     ],
494     "additionalProperties": false
495     },
496     {
497     "type": "object",
498     "properties": {
499     "reason": {
500     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/antispam/properties/actions/items/anyOf/0/properties/reason"
501     },
502     "notify": {
503     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/antispam/properties/actions/items/anyOf/0/properties/notify"
504     },
505     "type": {
506     "type": "string",
507     "const": "clear"
508     },
509     "count": {
510     "type": "integer",
511     "minimum": 1,
512     "default": 20
513     }
514     },
515     "required": [
516     "type"
517     ],
518     "additionalProperties": false
519     },
520     {
521     "type": "object",
522     "properties": {
523     "type": {
524     "type": "string",
525     "const": "delete_message"
526     }
527     },
528     "required": [
529     "type"
530     ],
531     "additionalProperties": false
532     }
533     ]
534     }
535     }
536     },
537     "required": [
538     "limit",
539     "timeframe",
540     "actions"
541     ],
542     "additionalProperties": false
543     },
544     "extensions": {
545     "type": "object",
546     "properties": {
547     "enabled": {
548     "type": "boolean"
549     },
550     "installed_extensions": {
551     "type": "array",
552     "items": {
553     "type": "string"
554     },
555     "default": []
556     },
557     "disabled_extensions": {
558     "type": "array",
559     "items": {
560     "type": "string"
561     },
562     "default": []
563     }
564     },
565     "additionalProperties": false
566     },
567     "muting": {
568     "type": "object",
569     "properties": {
570     "role": {
571     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/commands/properties/channels/properties/list/items"
572     }
573     },
574     "additionalProperties": false
575     },
576     "rule_moderation": {
577     "type": "object",
578     "properties": {
579     "enabled": {
580     "type": "boolean",
581     "default": false
582     },
583     "rules": {
584     "type": "array",
585     "items": {
586     "anyOf": [
587     {
588     "type": "object",
589     "properties": {
590     "name": {
591     "type": [
592     "string",
593     "null"
594     ],
595     "default": null
596     },
597     "actions": {
598     "type": "array",
599     "items": {
600     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/antispam/properties/actions/items"
601     },
602     "default": []
603     },
604     "mode": {
605     "type": "string",
606     "enum": [
607     "normal",
608     "invert"
609     ],
610     "default": "normal"
611     },
612     "enabled": {
613     "type": "boolean",
614     "default": true
615     },
616     "bail": {
617     "type": "boolean",
618     "default": true
619     },
620     "for": {
621     "type": "object",
622     "properties": {
623     "roles": {
624     "type": "array",
625     "items": {
626     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/commands/properties/channels/properties/list/items"
627     }
628     },
629     "users": {
630     "type": "array",
631     "items": {
632     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/commands/properties/channels/properties/list/items"
633     }
634     },
635     "channels": {
636     "type": "array",
637     "items": {
638     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/commands/properties/channels/properties/list/items"
639     }
640     }
641     },
642     "additionalProperties": false
643     },
644     "exceptions": {
645     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/for"
646     },
647     "is_bypasser": {
648     "type": "boolean",
649     "default": false
650     },
651     "bypasses": {
652     "anyOf": [
653     {
654     "type": "array",
655     "items": {
656     "type": "string"
657     }
658     },
659     {
660     "type": "null"
661     }
662     ],
663     "default": null
664     },
665     "type": {
666     "type": "string",
667     "const": "domain_filter"
668     },
669     "domains": {
670     "type": "array",
671     "items": {
672     "type": "string"
673     },
674     "default": []
675     },
676     "scan_links_only": {
677     "type": "boolean",
678     "default": false
679     }
680     },
681     "required": [
682     "type"
683     ],
684     "additionalProperties": false,
685     "description": "[DEPRECATED] Use RegexFilterRule instead."
686     },
687     {
688     "type": "object",
689     "properties": {
690     "name": {
691     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/name"
692     },
693     "actions": {
694     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/actions"
695     },
696     "mode": {
697     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/mode"
698     },
699     "enabled": {
700     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/enabled"
701     },
702     "bail": {
703     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/bail"
704     },
705     "for": {
706     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/for"
707     },
708     "exceptions": {
709     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/exceptions"
710     },
711     "is_bypasser": {
712     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/is_bypasser"
713     },
714     "bypasses": {
715     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/bypasses"
716     },
717     "data": {
718     "type": "array",
719     "items": {
720     "type": "string"
721     },
722     "default": []
723     },
724     "type": {
725     "type": "string",
726     "const": "mime_type_filter"
727     }
728     },
729     "required": [
730     "type"
731     ],
732     "additionalProperties": false
733     },
734     {
735     "type": "object",
736     "properties": {
737     "name": {
738     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/name"
739     },
740     "actions": {
741     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/actions"
742     },
743     "mode": {
744     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/mode"
745     },
746     "enabled": {
747     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/enabled"
748     },
749     "bail": {
750     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/bail"
751     },
752     "for": {
753     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/for"
754     },
755     "exceptions": {
756     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/exceptions"
757     },
758     "is_bypasser": {
759     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/is_bypasser"
760     },
761     "bypasses": {
762     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/bypasses"
763     },
764     "data": {
765     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/1/properties/data"
766     },
767     "type": {
768     "type": "string",
769     "const": "file_extension_filter"
770     }
771     },
772     "required": [
773     "type"
774     ],
775     "additionalProperties": false
776     },
777     {
778     "type": "object",
779     "properties": {
780     "name": {
781     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/name"
782     },
783     "actions": {
784     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/actions"
785     },
786     "mode": {
787     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/mode"
788     },
789     "enabled": {
790     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/enabled"
791     },
792     "bail": {
793     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/bail"
794     },
795     "for": {
796     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/for"
797     },
798     "exceptions": {
799     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/exceptions"
800     },
801     "is_bypasser": {
802     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/is_bypasser"
803     },
804     "bypasses": {
805     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/bypasses"
806     },
807     "type": {
808     "type": "string",
809     "const": "anti_invite"
810     },
811     "allowed_invite_codes": {
812     "type": "array",
813     "items": {
814     "type": "string"
815     },
816     "default": []
817     },
818     "allow_internal_invites": {
819     "type": "boolean",
820     "default": true
821     }
822     },
823     "required": [
824     "type"
825     ],
826     "additionalProperties": false
827     },
828     {
829     "type": "object",
830     "properties": {
831     "name": {
832     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/name"
833     },
834     "actions": {
835     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/actions"
836     },
837     "mode": {
838     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/mode"
839     },
840     "enabled": {
841     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/enabled"
842     },
843     "bail": {
844     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/bail"
845     },
846     "for": {
847     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/for"
848     },
849     "exceptions": {
850     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/exceptions"
851     },
852     "is_bypasser": {
853     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/is_bypasser"
854     },
855     "bypasses": {
856     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/bypasses"
857     },
858     "type": {
859     "type": "string",
860     "const": "regex_filter"
861     },
862     "patterns": {
863     "type": "array",
864     "items": {
865     "anyOf": [
866     {
867     "type": "string"
868     },
869     {
870     "type": "array",
871     "minItems": 2,
872     "maxItems": 2,
873     "items": [
874     {
875     "type": "string",
876     "description": "The pattern"
877     },
878     {
879     "type": "string",
880     "description": "The flags for this regex pattern"
881     }
882     ]
883     }
884     ]
885     },
886     "default": []
887     }
888     },
889     "required": [
890     "type"
891     ],
892     "additionalProperties": false
893     },
894     {
895     "type": "object",
896     "properties": {
897     "name": {
898     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/name"
899     },
900     "actions": {
901     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/actions"
902     },
903     "mode": {
904     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/mode"
905     },
906     "enabled": {
907     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/enabled"
908     },
909     "bail": {
910     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/bail"
911     },
912     "for": {
913     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/for"
914     },
915     "exceptions": {
916     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/exceptions"
917     },
918     "is_bypasser": {
919     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/is_bypasser"
920     },
921     "bypasses": {
922     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/bypasses"
923     },
924     "type": {
925     "type": "string",
926     "const": "repeated_text_filter"
927     },
928     "max_repeated_chars": {
929     "type": "integer",
930     "default": 20
931     },
932     "max_repeated_words": {
933     "type": "integer",
934     "default": 15
935     }
936     },
937     "required": [
938     "type"
939     ],
940     "additionalProperties": false
941     },
942     {
943     "type": "object",
944     "properties": {
945     "name": {
946     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/name"
947     },
948     "actions": {
949     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/actions"
950     },
951     "mode": {
952     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/mode"
953     },
954     "enabled": {
955     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/enabled"
956     },
957     "bail": {
958     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/bail"
959     },
960     "for": {
961     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/for"
962     },
963     "exceptions": {
964     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/exceptions"
965     },
966     "is_bypasser": {
967     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/is_bypasser"
968     },
969     "bypasses": {
970     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/bypasses"
971     },
972     "type": {
973     "type": "string",
974     "const": "mass_mention_filter"
975     },
976     "max_mentions": {
977     "type": "integer",
978     "default": 15
979     },
980     "max_user_mentions": {
981     "type": "integer",
982     "default": -1
983     },
984     "max_role_mentions": {
985     "type": "integer",
986     "default": -1
987     }
988     },
989     "required": [
990     "type"
991     ],
992     "additionalProperties": false
993     },
994     {
995     "type": "object",
996     "properties": {
997     "name": {
998     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/name"
999     },
1000     "actions": {
1001     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/actions"
1002     },
1003     "mode": {
1004     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/mode"
1005     },
1006     "enabled": {
1007     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/enabled"
1008     },
1009     "bail": {
1010     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/bail"
1011     },
1012     "for": {
1013     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/for"
1014     },
1015     "exceptions": {
1016     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/exceptions"
1017     },
1018     "is_bypasser": {
1019     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/is_bypasser"
1020     },
1021     "bypasses": {
1022     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/bypasses"
1023     },
1024     "type": {
1025     "type": "string",
1026     "const": "image_filter"
1027     },
1028     "tokens": {
1029     "type": "array",
1030     "items": {
1031     "type": "string"
1032     },
1033     "default": []
1034     },
1035     "words": {
1036     "type": "array",
1037     "items": {
1038     "type": "string"
1039     },
1040     "default": []
1041     },
1042     "inherit_from_word_filter": {
1043     "type": "boolean",
1044     "default": false
1045     },
1046     "scan_embeds": {
1047     "type": "boolean",
1048     "default": false
1049     }
1050     },
1051     "required": [
1052     "type"
1053     ],
1054     "additionalProperties": false
1055     },
1056     {
1057     "type": "object",
1058     "properties": {
1059     "name": {
1060     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/name"
1061     },
1062     "actions": {
1063     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/actions"
1064     },
1065     "mode": {
1066     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/mode"
1067     },
1068     "enabled": {
1069     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/enabled"
1070     },
1071     "bail": {
1072     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/bail"
1073     },
1074     "for": {
1075     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/for"
1076     },
1077     "exceptions": {
1078     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/exceptions"
1079     },
1080     "is_bypasser": {
1081     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/is_bypasser"
1082     },
1083     "bypasses": {
1084     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/bypasses"
1085     },
1086     "type": {
1087     "type": "string",
1088     "const": "embed_filter"
1089     },
1090     "tokens": {
1091     "type": "array",
1092     "items": {
1093     "type": "string"
1094     },
1095     "default": []
1096     },
1097     "words": {
1098     "type": "array",
1099     "items": {
1100     "type": "string"
1101     },
1102     "default": []
1103     },
1104     "inherit_from_word_filter": {
1105     "type": "boolean",
1106     "default": false
1107     }
1108     },
1109     "required": [
1110     "type"
1111     ],
1112     "additionalProperties": false
1113     },
1114     {
1115     "type": "object",
1116     "properties": {
1117     "name": {
1118     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/name"
1119     },
1120     "actions": {
1121     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/actions"
1122     },
1123     "mode": {
1124     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/mode"
1125     },
1126     "enabled": {
1127     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/enabled"
1128     },
1129     "bail": {
1130     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/bail"
1131     },
1132     "for": {
1133     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/for"
1134     },
1135     "exceptions": {
1136     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/exceptions"
1137     },
1138     "is_bypasser": {
1139     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/is_bypasser"
1140     },
1141     "bypasses": {
1142     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/bypasses"
1143     },
1144     "type": {
1145     "type": "string",
1146     "const": "EXPERIMENTAL_url_crawl"
1147     },
1148     "excluded_domains_regex": {
1149     "type": "array",
1150     "items": {
1151     "type": "string"
1152     },
1153     "default": []
1154     },
1155     "excluded_links": {
1156     "type": "array",
1157     "items": {
1158     "type": "string",
1159     "format": "uri"
1160     },
1161     "default": []
1162     },
1163     "excluded_link_regex": {
1164     "type": "array",
1165     "items": {
1166     "type": "string"
1167     },
1168     "default": []
1169     },
1170     "tokens": {
1171     "type": "array",
1172     "items": {
1173     "type": "string"
1174     },
1175     "default": []
1176     },
1177     "words": {
1178     "type": "array",
1179     "items": {
1180     "type": "string"
1181     },
1182     "default": []
1183     }
1184     },
1185     "required": [
1186     "type"
1187     ],
1188     "additionalProperties": false,
1189     "description": "Experimental. Use at your own risk."
1190     },
1191     {
1192     "type": "object",
1193     "properties": {
1194     "name": {
1195     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/name"
1196     },
1197     "actions": {
1198     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/actions"
1199     },
1200     "mode": {
1201     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/mode"
1202     },
1203     "enabled": {
1204     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/enabled"
1205     },
1206     "bail": {
1207     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/bail"
1208     },
1209     "for": {
1210     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/for"
1211     },
1212     "exceptions": {
1213     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/exceptions"
1214     },
1215     "is_bypasser": {
1216     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/is_bypasser"
1217     },
1218     "bypasses": {
1219     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/bypasses"
1220     },
1221     "type": {
1222     "type": "string",
1223     "const": "EXPERIMENTAL_nsfw_filter"
1224     },
1225     "score_thresholds": {
1226     "type": "object",
1227     "properties": {
1228     "hentai": {
1229     "type": "number",
1230     "minimum": 0,
1231     "maximum": 1,
1232     "default": 0.35
1233     },
1234     "porn": {
1235     "type": "number",
1236     "minimum": 0,
1237     "maximum": 1,
1238     "default": 0.35
1239     },
1240     "sexy": {
1241     "type": "number",
1242     "minimum": 0,
1243     "maximum": 1,
1244     "default": 0.8
1245     }
1246     },
1247     "additionalProperties": false,
1248     "default": {}
1249     }
1250     },
1251     "required": [
1252     "type"
1253     ],
1254     "additionalProperties": false,
1255     "description": "Experimental. Use at your own risk."
1256     },
1257     {
1258     "type": "object",
1259     "properties": {
1260     "name": {
1261     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/name"
1262     },
1263     "actions": {
1264     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/actions"
1265     },
1266     "mode": {
1267     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/mode"
1268     },
1269     "enabled": {
1270     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/enabled"
1271     },
1272     "bail": {
1273     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/bail"
1274     },
1275     "for": {
1276     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/for"
1277     },
1278     "exceptions": {
1279     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/exceptions"
1280     },
1281     "is_bypasser": {
1282     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/is_bypasser"
1283     },
1284     "bypasses": {
1285     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/bypasses"
1286     },
1287     "type": {
1288     "type": "string",
1289     "const": "word_filter"
1290     },
1291     "tokens": {
1292     "type": "array",
1293     "items": {
1294     "type": "string"
1295     },
1296     "default": []
1297     },
1298     "words": {
1299     "type": "array",
1300     "items": {
1301     "type": "string"
1302     },
1303     "default": []
1304     },
1305     "normalize": {
1306     "type": "boolean",
1307     "default": true
1308     }
1309     },
1310     "required": [
1311     "type"
1312     ],
1313     "additionalProperties": false
1314     },
1315     {
1316     "type": "object",
1317     "properties": {
1318     "name": {
1319     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/name"
1320     },
1321     "actions": {
1322     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/actions"
1323     },
1324     "mode": {
1325     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/mode"
1326     },
1327     "enabled": {
1328     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/enabled"
1329     },
1330     "bail": {
1331     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/bail"
1332     },
1333     "for": {
1334     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/for"
1335     },
1336     "exceptions": {
1337     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/exceptions"
1338     },
1339     "is_bypasser": {
1340     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/is_bypasser"
1341     },
1342     "bypasses": {
1343     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/bypasses"
1344     },
1345     "type": {
1346     "type": "string",
1347     "const": "profile_filter"
1348     },
1349     "tokens": {
1350     "type": "array",
1351     "items": {
1352     "type": "string"
1353     },
1354     "default": []
1355     },
1356     "words": {
1357     "type": "array",
1358     "items": {
1359     "type": "string"
1360     },
1361     "default": []
1362     },
1363     "regex_patterns": {
1364     "type": "array",
1365     "items": {
1366     "type": "string"
1367     },
1368     "default": []
1369     },
1370     "normalize": {
1371     "type": "boolean",
1372     "default": true
1373     }
1374     },
1375     "required": [
1376     "type"
1377     ],
1378     "additionalProperties": false
1379     },
1380     {
1381     "type": "object",
1382     "properties": {
1383     "name": {
1384     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/name"
1385     },
1386     "actions": {
1387     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/actions"
1388     },
1389     "mode": {
1390     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/mode"
1391     },
1392     "enabled": {
1393     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/enabled"
1394     },
1395     "bail": {
1396     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/bail"
1397     },
1398     "for": {
1399     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/for"
1400     },
1401     "exceptions": {
1402     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/exceptions"
1403     },
1404     "is_bypasser": {
1405     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/is_bypasser"
1406     },
1407     "bypasses": {
1408     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/bypasses"
1409     },
1410     "type": {
1411     "type": "string",
1412     "const": "file_filter"
1413     },
1414     "hashes": {
1415     "type": "object",
1416     "additionalProperties": {
1417     "type": [
1418     "string",
1419     "null"
1420     ]
1421     },
1422     "default": {}
1423     },
1424     "check_mime_types": {
1425     "type": "boolean",
1426     "default": false
1427     }
1428     },
1429     "required": [
1430     "type"
1431     ],
1432     "additionalProperties": false
1433     },
1434     {
1435     "type": "object",
1436     "properties": {
1437     "name": {
1438     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/name"
1439     },
1440     "actions": {
1441     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/actions"
1442     },
1443     "mode": {
1444     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/mode"
1445     },
1446     "enabled": {
1447     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/enabled"
1448     },
1449     "bail": {
1450     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/bail"
1451     },
1452     "for": {
1453     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/for"
1454     },
1455     "exceptions": {
1456     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/exceptions"
1457     },
1458     "is_bypasser": {
1459     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/is_bypasser"
1460     },
1461     "bypasses": {
1462     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/rule_moderation/properties/rules/items/anyOf/0/properties/bypasses"
1463     },
1464     "type": {
1465     "type": "string",
1466     "const": "ai_scan"
1467     },
1468     "toxicity_threshold": {
1469     "type": "number",
1470     "minimum": 0,
1471     "maximum": 1,
1472     "default": 0.5
1473     },
1474     "identity_attack_threshold": {
1475     "type": "number",
1476     "minimum": 0,
1477     "maximum": 1,
1478     "default": 0.5
1479     },
1480     "insult_threshold": {
1481     "type": "number",
1482     "minimum": 0,
1483     "maximum": 1,
1484     "default": 0.5
1485     },
1486     "profanity_threshold": {
1487     "type": "number",
1488     "minimum": 0,
1489     "maximum": 1,
1490     "default": 0.5
1491     },
1492     "sexual_explicit_threshold": {
1493     "type": "number",
1494     "minimum": 0,
1495     "maximum": 1,
1496     "default": 0.5
1497     },
1498     "threat_threshold": {
1499     "type": "number",
1500     "minimum": 0,
1501     "maximum": 1,
1502     "default": 0.5
1503     },
1504     "severe_toxicity_threshold": {
1505     "type": "number",
1506     "minimum": 0,
1507     "maximum": 1,
1508     "default": 0.5
1509     },
1510     "flirtation_threshold": {
1511     "type": "number",
1512     "minimum": 0,
1513     "maximum": 1,
1514     "default": 0.5
1515     }
1516     },
1517     "required": [
1518     "type"
1519     ],
1520     "additionalProperties": false
1521     }
1522     ]
1523     },
1524     "default": []
1525     },
1526     "global_disabled_channels": {
1527     "type": "array",
1528     "items": {
1529     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/commands/properties/channels/properties/list/items"
1530     },
1531     "default": []
1532     }
1533     },
1534     "additionalProperties": false
1535     },
1536     "logging": {
1537     "type": "object",
1538     "properties": {
1539     "enabled": {
1540     "type": "boolean",
1541     "default": false
1542     },
1543     "bulk_delete_send_json": {
1544     "type": "boolean",
1545     "default": true
1546     },
1547     "global_ignored_channels": {
1548     "type": "array",
1549     "items": {
1550     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/commands/properties/channels/properties/list/items"
1551     },
1552     "default": []
1553     },
1554     "default_enabled": {
1555     "type": "boolean",
1556     "default": true,
1557     "description": "Whether to consider all events as enabled if no override is found"
1558     },
1559     "primary_channel": {
1560     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/commands/properties/channels/properties/list/items"
1561     },
1562     "hooks": {
1563     "type": "object",
1564     "additionalProperties": {
1565     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/commands/properties/channels/properties/list/items"
1566     },
1567     "default": {}
1568     },
1569     "overrides": {
1570     "type": "array",
1571     "items": {
1572     "anyOf": [
1573     {
1574     "type": "object",
1575     "properties": {
1576     "events": {
1577     "type": "array",
1578     "items": {
1579     "type": "string",
1580     "enum": [
1581     "message_delete",
1582     "message_update",
1583     "message_delete_bulk",
1584     "member_ban_add",
1585     "member_mass_ban",
1586     "member_mass_unban",
1587     "member_mass_kick",
1588     "member_ban_remove",
1589     "guild_member_add",
1590     "guild_member_remove",
1591     "guild_member_kick",
1592     "member_mute_add",
1593     "member_mute_remove",
1594     "member_warning_add",
1595     "member_mod_message_add",
1596     "user_note_add",
1597     "member_role_modification",
1598     "system_automod_rule_moderation",
1599     "system_user_message_save",
1600     "raid_alert"
1601     ]
1602     },
1603     "minItems": 1
1604     },
1605     "enabled": {
1606     "type": "boolean",
1607     "const": true
1608     },
1609     "channel": {
1610     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/commands/properties/channels/properties/list/items"
1611     }
1612     },
1613     "required": [
1614     "events",
1615     "enabled",
1616     "channel"
1617     ],
1618     "additionalProperties": false
1619     },
1620     {
1621     "type": "object",
1622     "properties": {
1623     "events": {
1624     "type": "array",
1625     "items": {
1626     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/logging/properties/overrides/items/anyOf/0/properties/events/items"
1627     },
1628     "minItems": 1
1629     },
1630     "enabled": {
1631     "type": "boolean",
1632     "const": false
1633     }
1634     },
1635     "required": [
1636     "events",
1637     "enabled"
1638     ],
1639     "additionalProperties": false
1640     }
1641     ]
1642     },
1643     "default": []
1644     }
1645     },
1646     "additionalProperties": false
1647     },
1648     "anti_member_join": {
1649     "type": "object",
1650     "properties": {
1651     "enabled": {
1652     "type": "boolean",
1653     "default": false
1654     },
1655     "behavior": {
1656     "type": "string",
1657     "enum": [
1658     "kick",
1659     "ban"
1660     ],
1661     "default": "kick"
1662     },
1663     "custom_reason": {
1664     "type": "string"
1665     },
1666     "ban_duration": {
1667     "type": "integer"
1668     },
1669     "ignore_bots": {
1670     "type": "boolean",
1671     "default": false
1672     }
1673     },
1674     "additionalProperties": false
1675     },
1676     "reaction_roles": {
1677     "type": "object",
1678     "properties": {
1679     "enabled": {
1680     "type": "boolean",
1681     "default": false
1682     },
1683     "ignore_bots": {
1684     "type": "boolean",
1685     "default": true
1686     },
1687     "ratelimiting": {
1688     "type": "object",
1689     "properties": {
1690     "enabled": {
1691     "type": "boolean",
1692     "default": true
1693     },
1694     "timeframe": {
1695     "type": "integer",
1696     "minimum": 0,
1697     "default": 7000
1698     },
1699     "max_attempts": {
1700     "type": "integer",
1701     "minimum": 0,
1702     "default": 5
1703     },
1704     "block_duration": {
1705     "type": "integer",
1706     "minimum": 0,
1707     "default": 10000
1708     }
1709     },
1710     "additionalProperties": false
1711     }
1712     },
1713     "additionalProperties": false
1714     },
1715     "survey_system": {
1716     "type": "object",
1717     "properties": {
1718     "enabled": {
1719     "type": "boolean",
1720     "default": false
1721     },
1722     "default_log_channel": {
1723     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/commands/properties/channels/properties/list/items"
1724     },
1725     "surveys": {
1726     "type": "object",
1727     "additionalProperties": {
1728     "type": "object",
1729     "properties": {
1730     "name": {
1731     "type": "string"
1732     },
1733     "questions": {
1734     "type": "array",
1735     "items": {
1736     "type": "object",
1737     "properties": {
1738     "type": {
1739     "type": "string",
1740     "enum": [
1741     "paragraph",
1742     "short"
1743     ]
1744     },
1745     "question": {
1746     "type": "string"
1747     },
1748     "required": {
1749     "type": "boolean",
1750     "default": true
1751     },
1752     "maxLength": {
1753     "type": "integer"
1754     },
1755     "minLength": {
1756     "type": "integer"
1757     },
1758     "placeholder": {
1759     "type": "string"
1760     },
1761     "default_value": {
1762     "type": "string"
1763     }
1764     },
1765     "required": [
1766     "type",
1767     "question"
1768     ],
1769     "additionalProperties": false
1770     },
1771     "minItems": 1
1772     },
1773     "required_channels": {
1774     "type": "array",
1775     "items": {
1776     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/commands/properties/channels/properties/list/items"
1777     },
1778     "default": []
1779     },
1780     "required_roles": {
1781     "type": "array",
1782     "items": {
1783     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/commands/properties/channels/properties/list/items"
1784     },
1785     "default": []
1786     },
1787     "required_permissions": {
1788     "type": "array",
1789     "items": {
1790     "type": "string"
1791     },
1792     "default": []
1793     },
1794     "required_users": {
1795     "type": "array",
1796     "items": {
1797     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/commands/properties/channels/properties/list/items"
1798     },
1799     "default": []
1800     },
1801     "description": {
1802     "type": "string"
1803     },
1804     "end_message": {
1805     "type": "string"
1806     },
1807     "log_channel": {
1808     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/commands/properties/channels/properties/list/items"
1809     }
1810     },
1811     "required": [
1812     "name",
1813     "questions"
1814     ],
1815     "additionalProperties": false
1816     },
1817     "propertyNames": {
1818     "pattern": "^[a-z0-9_-]+$"
1819     },
1820     "description": "\n A record of surveys. The key is the interaction custom ID of the survey, and the value is the survey itself.\n ",
1821     "default": {}
1822     }
1823     },
1824     "additionalProperties": false
1825     },
1826     "raid_protection": {
1827     "type": "object",
1828     "properties": {
1829     "enabled": {
1830     "type": "boolean",
1831     "default": false
1832     },
1833     "threshold": {
1834     "type": "integer",
1835     "default": 10
1836     },
1837     "timeframe": {
1838     "type": "integer",
1839     "default": 60000
1840     },
1841     "action": {
1842     "type": "string",
1843     "enum": [
1844     "auto",
1845     "lock",
1846     "antijoin",
1847     "lock_and_antijoin",
1848     "none"
1849     ],
1850     "default": "auto"
1851     },
1852     "member_actions": {
1853     "type": "array",
1854     "items": {
1855     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/antispam/properties/actions/items"
1856     },
1857     "default": []
1858     },
1859     "send_log": {
1860     "type": "boolean",
1861     "default": true
1862     },
1863     "channels": {
1864     "type": "array",
1865     "items": {
1866     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/commands/properties/channels/properties/list/items"
1867     },
1868     "default": []
1869     },
1870     "channel_mode": {
1871     "type": "string",
1872     "enum": [
1873     "exclude",
1874     "include"
1875     ],
1876     "default": "exclude"
1877     }
1878     },
1879     "additionalProperties": false
1880     },
1881     "member_verification": {
1882     "type": "object",
1883     "properties": {
1884     "enabled": {
1885     "type": "boolean",
1886     "default": false
1887     },
1888     "conditions": {
1889     "type": "object",
1890     "properties": {
1891     "age_less_than": {
1892     "type": "integer"
1893     },
1894     "no_avatar": {
1895     "type": "boolean"
1896     },
1897     "always": {
1898     "type": "boolean",
1899     "default": false
1900     }
1901     },
1902     "additionalProperties": false
1903     },
1904     "unverified_roles": {
1905     "type": "array",
1906     "items": {
1907     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/commands/properties/channels/properties/list/items"
1908     },
1909     "default": []
1910     },
1911     "verified_roles": {
1912     "type": "array",
1913     "items": {
1914     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/commands/properties/channels/properties/list/items"
1915     },
1916     "default": []
1917     },
1918     "expired_actions": {
1919     "type": "array",
1920     "items": {
1921     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/antispam/properties/actions/items"
1922     },
1923     "default": []
1924     },
1925     "require_captcha": {
1926     "type": "boolean"
1927     },
1928     "verification_message": {
1929     "type": "string"
1930     },
1931     "success_message": {
1932     "type": "string"
1933     },
1934     "max_duration": {
1935     "type": "integer",
1936     "description": "Max verification duration (in seconds)"
1937     },
1938     "allowed_methods": {
1939     "type": "array",
1940     "items": {
1941     "type": "string",
1942     "enum": [
1943     "discord",
1944     "google",
1945     "github",
1946     "email"
1947     ]
1948     },
1949     "default": [
1950     "discord",
1951     "google",
1952     "github",
1953     "email"
1954     ]
1955     }
1956     },
1957     "required": [
1958     "conditions"
1959     ],
1960     "additionalProperties": false
1961     },
1962     "quick_mute": {
1963     "type": "object",
1964     "properties": {
1965     "enabled": {
1966     "type": "boolean",
1967     "default": false
1968     },
1969     "mute_clear_emoji": {
1970     "type": "string"
1971     },
1972     "mute_emoji": {
1973     "type": "string"
1974     },
1975     "default_duration": {
1976     "type": "integer",
1977     "minimum": 0,
1978     "default": 7200000
1979     },
1980     "reason": {
1981     "type": "string"
1982     }
1983     },
1984     "additionalProperties": false
1985     },
1986     "auto_role": {
1987     "type": "object",
1988     "properties": {
1989     "enabled": {
1990     "type": "boolean",
1991     "default": false
1992     },
1993     "roles": {
1994     "type": "array",
1995     "items": {
1996     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/commands/properties/channels/properties/list/items"
1997     },
1998     "default": []
1999     },
2000     "ignore_bots": {
2001     "type": "boolean",
2002     "default": true
2003     }
2004     },
2005     "additionalProperties": false
2006     },
2007     "welcomer": {
2008     "type": "object",
2009     "properties": {
2010     "enabled": {
2011     "type": "boolean",
2012     "default": false
2013     },
2014     "custom_message": {
2015     "type": "string"
2016     },
2017     "randomize": {
2018     "type": "boolean",
2019     "default": false
2020     },
2021     "mention": {
2022     "type": "boolean",
2023     "default": false
2024     },
2025     "say_hi_button": {
2026     "type": "object",
2027     "properties": {
2028     "enabled": {
2029     "type": "boolean",
2030     "default": false
2031     },
2032     "label": {
2033     "type": "string",
2034     "default": "Say Hi"
2035     },
2036     "emoji": {
2037     "type": "string",
2038     "default": "👋"
2039     },
2040     "reply": {
2041     "type": "string",
2042     "default": ":acc: said hi to you!"
2043     },
2044     "expire_after": {
2045     "anyOf": [
2046     {
2047     "type": "integer",
2048     "minimum": 5000,
2049     "maximum": 600000,
2050     "default": 300000
2051     },
2052     {
2053     "type": "null"
2054     }
2055     ]
2056     }
2057     },
2058     "additionalProperties": false
2059     },
2060     "delete_after": {
2061     "type": "integer"
2062     },
2063     "channel": {
2064     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/commands/properties/channels/properties/list/items"
2065     },
2066     "force_embeds": {
2067     "type": "boolean",
2068     "default": true
2069     },
2070     "forced_embed_color": {
2071     "type": "integer"
2072     }
2073     },
2074     "required": [
2075     "channel"
2076     ],
2077     "additionalProperties": false
2078     },
2079     "auto_triggers": {
2080     "type": "object",
2081     "properties": {
2082     "enabled": {
2083     "type": "boolean",
2084     "default": false
2085     },
2086     "triggers": {
2087     "type": "array",
2088     "items": {
2089     "anyOf": [
2090     {
2091     "type": "object",
2092     "properties": {
2093     "enabled_channels": {
2094     "anyOf": [
2095     {
2096     "type": "array",
2097     "items": {
2098     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/commands/properties/channels/properties/list/items"
2099     },
2100     "default": []
2101     },
2102     {
2103     "type": "string",
2104     "const": "all"
2105     }
2106     ]
2107     },
2108     "ignore_roles": {
2109     "type": "array",
2110     "items": {
2111     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/commands/properties/channels/properties/list/items"
2112     },
2113     "default": []
2114     },
2115     "ignore_users": {
2116     "type": "array",
2117     "items": {
2118     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/commands/properties/channels/properties/list/items"
2119     },
2120     "default": []
2121     },
2122     "type": {
2123     "type": "string",
2124     "const": "sticky_message"
2125     },
2126     "message": {
2127     "type": "string"
2128     },
2129     "buttons": {
2130     "type": "array",
2131     "items": {
2132     "type": "object",
2133     "properties": {
2134     "label": {
2135     "type": "string"
2136     },
2137     "url": {
2138     "type": "string",
2139     "format": "uri"
2140     }
2141     },
2142     "required": [
2143     "label",
2144     "url"
2145     ],
2146     "additionalProperties": false
2147     },
2148     "maxItems": 3,
2149     "default": []
2150     }
2151     },
2152     "required": [
2153     "type",
2154     "message"
2155     ],
2156     "additionalProperties": false
2157     },
2158     {
2159     "type": "object",
2160     "properties": {
2161     "enabled_channels": {
2162     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/auto_triggers/properties/triggers/items/anyOf/0/properties/enabled_channels"
2163     },
2164     "ignore_roles": {
2165     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/auto_triggers/properties/triggers/items/anyOf/0/properties/ignore_roles"
2166     },
2167     "ignore_users": {
2168     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/auto_triggers/properties/triggers/items/anyOf/0/properties/ignore_users"
2169     },
2170     "type": {
2171     "type": "string",
2172     "const": "member_status_update"
2173     },
2174     "must_contain": {
2175     "type": "array",
2176     "items": {
2177     "type": "string"
2178     },
2179     "default": []
2180     },
2181     "must_not_contain": {
2182     "type": "array",
2183     "items": {
2184     "type": "string"
2185     },
2186     "default": []
2187     },
2188     "action": {
2189     "type": "string",
2190     "enum": [
2191     "assign_role",
2192     "take_away_role"
2193     ]
2194     },
2195     "roles": {
2196     "type": "array",
2197     "items": {
2198     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/commands/properties/channels/properties/list/items"
2199     },
2200     "default": []
2201     }
2202     },
2203     "required": [
2204     "type",
2205     "action"
2206     ],
2207     "additionalProperties": false
2208     }
2209     ]
2210     },
2211     "default": []
2212     },
2213     "global_disabled_channels": {
2214     "type": "array",
2215     "items": {
2216     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/commands/properties/channels/properties/list/items"
2217     },
2218     "default": []
2219     }
2220     },
2221     "additionalProperties": false
2222     },
2223     "message_reporting": {
2224     "type": "object",
2225     "properties": {
2226     "enabled": {
2227     "type": "boolean",
2228     "default": false
2229     },
2230     "logging_channel": {
2231     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/commands/properties/channels/properties/list/items"
2232     },
2233     "users": {
2234     "type": "array",
2235     "items": {
2236     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/commands/properties/channels/properties/list/items"
2237     },
2238     "default": []
2239     },
2240     "roles": {
2241     "type": "array",
2242     "items": {
2243     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/commands/properties/channels/properties/list/items"
2244     },
2245     "default": []
2246     },
2247     "permissions": {
2248     "type": "array",
2249     "items": {
2250     "type": "string"
2251     },
2252     "default": []
2253     },
2254     "permission_level": {
2255     "type": "integer",
2256     "minimum": -1,
2257     "maximum": 100,
2258     "default": -1
2259     },
2260     "action_required_permissions": {
2261     "type": "object",
2262     "properties": {
2263     "ban": {
2264     "type": "array",
2265     "items": {
2266     "type": "string"
2267     },
2268     "default": [
2269     "BanMembers"
2270     ]
2271     },
2272     "kick": {
2273     "type": "array",
2274     "items": {
2275     "type": "string"
2276     },
2277     "default": [
2278     "KickMembers"
2279     ]
2280     },
2281     "mute": {
2282     "type": "array",
2283     "items": {
2284     "type": "string"
2285     },
2286     "default": [
2287     "or",
2288     "ModerateMembers",
2289     "ManageMessages"
2290     ]
2291     },
2292     "warn": {
2293     "type": "array",
2294     "items": {
2295     "type": "string"
2296     },
2297     "default": [
2298     "or",
2299     "ModerateMembers",
2300     "ManageMessages"
2301     ]
2302     },
2303     "ignore": {
2304     "type": "array",
2305     "items": {
2306     "type": "string"
2307     },
2308     "default": [
2309     "or",
2310     "ModerateMembers",
2311     "ManageMessages",
2312     "BanMembers",
2313     "KickMembers"
2314     ]
2315     }
2316     },
2317     "additionalProperties": false,
2318     "default": {}
2319     }
2320     },
2321     "additionalProperties": false
2322     },
2323     "bump_reminder": {
2324     "type": "object",
2325     "properties": {
2326     "enabled": {
2327     "type": "boolean"
2328     },
2329     "disabled_channels": {
2330     "type": "array",
2331     "items": {
2332     "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/commands/properties/channels/properties/list/items"
2333     },
2334     "default": []
2335     },
2336     "remind_after": {
2337     "type": "integer",
2338     "default": 7200000
2339     },
2340     "reminder_content": {
2341     "type": "string",
2342     "minLength": 1
2343     },
2344     "on_bump_content": {
2345     "type": "string",
2346     "minLength": 1
2347     }
2348     },
2349     "additionalProperties": false
2350     }
2351     },
2352     "additionalProperties": false
2353     }
2354     ]
2355     },
2356     {
2357     "not": {}
2358     }
2359     ]
2360     },
2361     "$schema": "http://json-schema.org/draft-07/schema#"
2362     }

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26