/[sudobot]/branches/9.x-dev/config/schema/config.json
ViewVC logotype

Annotation of /branches/9.x-dev/config/schema/config.json

Parent Directory Parent Directory | Revision Log Revision Log


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26