/[sudobot]/branches/6.x/config/schema/config.json
ViewVC logotype

Annotation of /branches/6.x/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: 91422 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": true
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     },
140     "additionalProperties": false
141     },
142     "muting": {
143     "type": "object",
144     "properties": {
145     "role": {
146     "$ref": "#/additionalProperties/anyOf/0/properties/commands/properties/bean_safe/items"
147     }
148     },
149     "additionalProperties": false
150     },
151     "quickmute": {
152     "type": "object",
153     "properties": {
154     "enabled": {
155     "type": "boolean",
156     "default": false
157     },
158     "clear_emoji": {
159     "type": "string"
160     },
161     "noclear_emoji": {
162     "type": "string"
163     },
164     "duration": {
165     "type": "integer",
166     "minimum": 0,
167     "default": 7200000
168     },
169     "reason": {
170     "type": "string"
171     }
172     },
173     "additionalProperties": false
174     },
175     "logging": {
176     "type": "object",
177     "properties": {
178     "enabled": {
179     "type": "boolean",
180     "default": false
181     },
182     "bulk_delete_send_json": {
183     "type": "boolean",
184     "default": true
185     },
186     "primary_channel": {
187     "$ref": "#/additionalProperties/anyOf/0/properties/commands/properties/bean_safe/items"
188     },
189     "message_logging_channel": {
190     "$ref": "#/additionalProperties/anyOf/0/properties/commands/properties/bean_safe/items"
191     },
192     "join_leave_channel": {
193     "$ref": "#/additionalProperties/anyOf/0/properties/commands/properties/bean_safe/items"
194     },
195     "saved_messages_channel": {
196     "$ref": "#/additionalProperties/anyOf/0/properties/commands/properties/bean_safe/items"
197     },
198     "events": {
199     "type": "object",
200     "properties": {
201     "message_edit": {
202     "type": "boolean",
203     "default": true
204     },
205     "message_delete": {
206     "type": "boolean",
207     "default": true
208     },
209     "member_join": {
210     "type": "boolean",
211     "default": true
212     },
213     "member_leave": {
214     "type": "boolean",
215     "default": true
216     },
217     "message_bulk_delete": {
218     "type": "boolean",
219     "default": true
220     }
221     },
222     "additionalProperties": false,
223     "default": {
224     "message_edit": true,
225     "member_leave": true,
226     "member_join": true,
227     "message_delete": true
228     }
229     }
230     },
231     "additionalProperties": false
232     },
233     "message_reporting": {
234     "type": "object",
235     "properties": {
236     "enabled": {
237     "type": "boolean",
238     "default": false
239     },
240     "channel": {
241     "$ref": "#/additionalProperties/anyOf/0/properties/commands/properties/bean_safe/items"
242     },
243     "users": {
244     "type": "array",
245     "items": {
246     "$ref": "#/additionalProperties/anyOf/0/properties/commands/properties/bean_safe/items"
247     },
248     "default": []
249     },
250     "roles": {
251     "type": "array",
252     "items": {
253     "$ref": "#/additionalProperties/anyOf/0/properties/commands/properties/bean_safe/items"
254     },
255     "default": []
256     },
257     "permissions": {
258     "type": "array",
259     "items": {
260     "type": "string"
261     },
262     "default": []
263     },
264     "permissionLevel": {
265     "type": "integer",
266     "minimum": -1,
267     "maximum": 100,
268     "default": -1
269     }
270     },
271     "additionalProperties": false
272     },
273     "invite_tracking": {
274     "type": "object",
275     "properties": {
276     "enabled": {
277     "type": "boolean",
278     "default": false
279     }
280     },
281     "additionalProperties": false
282     },
283     "message_filter": {
284     "type": "object",
285     "properties": {
286     "enabled": {
287     "type": "boolean",
288     "default": false
289     },
290     "send_logs": {
291     "anyOf": [
292     {
293     "type": "boolean"
294     },
295     {
296     "type": "object",
297     "properties": {
298     "blocked_words": {
299     "type": "boolean",
300     "default": false
301     },
302     "blocked_tokens": {
303     "type": "boolean",
304     "default": false
305     },
306     "blocked_messages": {
307     "type": "boolean",
308     "default": false
309     }
310     },
311     "additionalProperties": false
312     }
313     ],
314     "default": false
315     },
316     "delete_message": {
317     "anyOf": [
318     {
319     "type": "boolean"
320     },
321     {
322     "type": "object",
323     "properties": {
324     "blocked_words": {
325     "type": "boolean",
326     "default": false
327     },
328     "blocked_tokens": {
329     "type": "boolean",
330     "default": false
331     },
332     "blocked_messages": {
333     "type": "boolean",
334     "default": false
335     }
336     },
337     "additionalProperties": false
338     }
339     ],
340     "default": false
341     },
342     "data": {
343     "type": "object",
344     "properties": {
345     "blocked_words": {
346     "type": "array",
347     "items": {
348     "type": "string"
349     },
350     "default": []
351     },
352     "blocked_tokens": {
353     "type": "array",
354     "items": {
355     "type": "string"
356     },
357     "default": []
358     },
359     "blocked_messages": {
360     "type": "array",
361     "items": {
362     "type": "string"
363     },
364     "default": []
365     }
366     },
367     "additionalProperties": false,
368     "default": {}
369     }
370     },
371     "additionalProperties": false
372     },
373     "antispam": {
374     "type": "object",
375     "properties": {
376     "enabled": {
377     "type": "boolean",
378     "default": false
379     },
380     "limit": {
381     "type": "integer",
382     "default": -1
383     },
384     "timeframe": {
385     "type": "integer",
386     "default": -1
387     },
388     "mute_duration": {
389     "type": "integer",
390     "default": -1
391     },
392     "similar_messages": {
393     "type": "object",
394     "properties": {
395     "max": {
396     "type": "integer",
397     "default": -1
398     },
399     "channels": {
400     "anyOf": [
401     {
402     "type": "array",
403     "items": {
404     "$ref": "#/additionalProperties/anyOf/0/properties/commands/properties/bean_safe/items"
405     }
406     },
407     {
408     "type": "boolean"
409     }
410     ],
411     "default": false
412     },
413     "timeframe": {
414     "type": "integer",
415     "minimum": 0
416     }
417     },
418     "additionalProperties": false
419     },
420     "action": {
421     "type": "string",
422     "enum": [
423     "verbal_warn",
424     "warn",
425     "mute",
426     "mute_clear",
427     "auto"
428     ]
429     },
430     "disabled_channels": {
431     "type": "array",
432     "items": {
433     "$ref": "#/additionalProperties/anyOf/0/properties/commands/properties/bean_safe/items"
434     },
435     "default": []
436     }
437     },
438     "additionalProperties": false
439     },
440     "antiraid": {
441     "type": "object",
442     "properties": {
443     "enabled": {
444     "type": "boolean",
445     "default": false
446     },
447     "max_joins": {
448     "type": "integer",
449     "default": -1
450     },
451     "timeframe": {
452     "type": "integer",
453     "default": -1
454     },
455     "action": {
456     "type": "string",
457     "enum": [
458     "auto",
459     "lock",
460     "antijoin",
461     "lock_and_antijoin",
462     "none"
463     ]
464     },
465     "send_log": {
466     "type": "boolean",
467     "default": true
468     },
469     "channels": {
470     "type": "array",
471     "items": {
472     "$ref": "#/additionalProperties/anyOf/0/properties/commands/properties/bean_safe/items"
473     },
474     "default": []
475     },
476     "channel_mode": {
477     "type": "string",
478     "enum": [
479     "exclude",
480     "include"
481     ],
482     "default": "exclude"
483     },
484     "ignore_private_channels": {
485     "type": "boolean",
486     "default": true
487     }
488     },
489     "additionalProperties": false
490     },
491     "welcomer": {
492     "type": "object",
493     "properties": {
494     "enabled": {
495     "type": "boolean",
496     "default": false
497     },
498     "custom_message": {
499     "type": "string"
500     },
501     "randomize": {
502     "type": "boolean",
503     "default": false
504     },
505     "mention": {
506     "type": "boolean",
507     "default": false
508     },
509     "say_hi_button": {
510     "type": "boolean",
511     "default": false
512     },
513     "say_hi_label": {
514     "type": "string",
515     "minLength": 1
516     },
517     "say_hi_emoji": {
518     "type": "string",
519     "default": "default"
520     },
521     "say_hi_reply": {
522     "type": "string"
523     },
524     "say_hi_expire_after": {
525     "anyOf": [
526     {
527     "type": "integer",
528     "minimum": 5000,
529     "maximum": 600000,
530     "default": 300000
531     },
532     {
533     "type": "null"
534     }
535     ]
536     },
537     "delete_messages": {
538     "anyOf": [
539     {
540     "type": "integer",
541     "minimum": 5000,
542     "maximum": 600000
543     },
544     {
545     "type": "null"
546     }
547     ],
548     "default": null
549     },
550     "channel": {
551     "$ref": "#/additionalProperties/anyOf/0/properties/commands/properties/bean_safe/items"
552     },
553     "embed": {
554     "type": "boolean",
555     "default": true
556     },
557     "color": {
558     "anyOf": [
559     {
560     "type": "integer",
561     "minimum": 0,
562     "maximum": 16777215,
563     "default": 31743
564     },
565     {
566     "type": "string",
567     "pattern": "^\\#"
568     }
569     ]
570     }
571     },
572     "required": [
573     "channel"
574     ],
575     "additionalProperties": false
576     },
577     "profile_filter": {
578     "type": "object",
579     "properties": {
580     "enabled": {
581     "type": "boolean",
582     "default": false
583     },
584     "scan": {
585     "type": "array",
586     "items": {
587     "anyOf": [
588     {
589     "type": "string",
590     "enum": [
591     "status",
592     "nickname"
593     ]
594     },
595     {
596     "type": "string",
597     "const": "username"
598     }
599     ]
600     },
601     "default": []
602     },
603     "actions": {
604     "type": "object",
605     "properties": {
606     "status": {
607     "anyOf": [
608     {
609     "type": "string",
610     "enum": [
611     "mute",
612     "warn"
613     ]
614     },
615     {
616     "type": "string",
617     "const": "none"
618     }
619     ],
620     "default": "none"
621     },
622     "nickname": {
623     "anyOf": [
624     {
625     "type": "string",
626     "enum": [
627     "mute",
628     "warn"
629     ]
630     },
631     {
632     "type": "string",
633     "const": "none"
634     }
635     ],
636     "default": "none"
637     },
638     "username": {
639     "anyOf": [
640     {
641     "type": "string",
642     "enum": [
643     "mute",
644     "warn"
645     ]
646     },
647     {
648     "type": "string",
649     "const": "none"
650     }
651     ],
652     "default": "none"
653     }
654     },
655     "additionalProperties": false,
656     "default": {}
657     },
658     "inherit_from_message_filter": {
659     "type": "object",
660     "properties": {
661     "tokens": {
662     "type": "boolean",
663     "default": false
664     },
665     "words": {
666     "type": "boolean",
667     "default": false
668     }
669     },
670     "additionalProperties": false,
671     "default": {}
672     },
673     "tokens": {
674     "type": "array",
675     "items": {
676     "type": "string"
677     },
678     "default": []
679     },
680     "words": {
681     "type": "array",
682     "items": {
683     "type": "string"
684     },
685     "default": []
686     }
687     },
688     "additionalProperties": false
689     },
690     "autorole": {
691     "type": "object",
692     "properties": {
693     "enabled": {
694     "type": "boolean",
695     "default": false
696     },
697     "roles": {
698     "type": "array",
699     "items": {
700     "$ref": "#/additionalProperties/anyOf/0/properties/commands/properties/bean_safe/items"
701     },
702     "default": []
703     },
704     "ignore_bots": {
705     "type": "boolean",
706     "default": true
707     }
708     },
709     "additionalProperties": false
710     },
711     "reaction_roles": {
712     "type": "object",
713     "properties": {
714     "enabled": {
715     "type": "boolean",
716     "default": false
717     },
718     "ignore_bots": {
719     "type": "boolean",
720     "default": true
721     },
722     "ratelimiting": {
723     "type": "object",
724     "properties": {
725     "enabled": {
726     "type": "boolean",
727     "default": true
728     },
729     "timeframe": {
730     "type": "integer",
731     "minimum": 0,
732     "default": 7000
733     },
734     "max_attempts": {
735     "type": "integer",
736     "minimum": 0,
737     "default": 5
738     },
739     "block_duration": {
740     "type": "integer",
741     "minimum": 0,
742     "default": 10000
743     }
744     },
745     "additionalProperties": false
746     }
747     },
748     "additionalProperties": false
749     },
750     "create_boost_role": {
751     "type": "object",
752     "properties": {
753     "create_roles_after": {
754     "$ref": "#/additionalProperties/anyOf/0/properties/commands/properties/bean_safe/items"
755     }
756     },
757     "additionalProperties": false
758     },
759     "disabled_commands": {
760     "type": "object",
761     "properties": {
762     "guild": {
763     "type": "array",
764     "items": {
765     "type": "string"
766     },
767     "default": []
768     },
769     "channels": {
770     "type": "object",
771     "additionalProperties": {
772     "type": "array",
773     "items": {
774     "type": "string"
775     },
776     "default": []
777     },
778     "default": {}
779     }
780     },
781     "additionalProperties": false
782     },
783     "file_filter": {
784     "type": "object",
785     "properties": {
786     "enabled": {
787     "type": "boolean",
788     "default": false
789     },
790     "disabled_channels": {
791     "type": "array",
792     "items": {
793     "$ref": "#/additionalProperties/anyOf/0/properties/commands/properties/bean_safe/items"
794     },
795     "default": []
796     },
797     "blocked_hashes": {
798     "type": "object",
799     "additionalProperties": {
800     "type": [
801     "string",
802     "null"
803     ]
804     },
805     "default": {}
806     }
807     },
808     "additionalProperties": false
809     },
810     "message_rules": {
811     "type": "object",
812     "properties": {
813     "enabled": {
814     "type": "boolean",
815     "default": false
816     },
817     "rules": {
818     "type": "array",
819     "items": {
820     "anyOf": [
821     {
822     "type": "object",
823     "properties": {
824     "disabled_channels": {
825     "type": "array",
826     "items": {
827     "$ref": "#/additionalProperties/anyOf/0/properties/commands/properties/bean_safe/items"
828     },
829     "default": []
830     },
831     "immune_roles": {
832     "type": "array",
833     "items": {
834     "$ref": "#/additionalProperties/anyOf/0/properties/commands/properties/bean_safe/items"
835     },
836     "default": []
837     },
838     "immune_users": {
839     "type": "array",
840     "items": {
841     "$ref": "#/additionalProperties/anyOf/0/properties/commands/properties/bean_safe/items"
842     },
843     "default": []
844     },
845     "actions": {
846     "type": "array",
847     "items": {
848     "type": "string",
849     "enum": [
850     "delete",
851     "verbal_warn",
852     "warn",
853     "mute",
854     "clear"
855     ]
856     },
857     "default": []
858     },
859     "verbal_warning_reason": {
860     "type": "string"
861     },
862     "warning_reason": {
863     "type": "string"
864     },
865     "mute_reason": {
866     "type": "string"
867     },
868     "common_reason": {
869     "type": "string"
870     },
871     "mute_duration": {
872     "type": "integer",
873     "default": -1
874     },
875     "mode": {
876     "type": "string",
877     "enum": [
878     "normal",
879     "inverse"
880     ],
881     "default": "normal"
882     },
883     "type": {
884     "type": "string",
885     "const": "domain"
886     },
887     "domains": {
888     "type": "array",
889     "items": {
890     "type": "string"
891     },
892     "default": []
893     },
894     "scan_links_only": {
895     "type": "boolean",
896     "default": false
897     }
898     },
899     "required": [
900     "type"
901     ],
902     "additionalProperties": false
903     },
904     {
905     "type": "object",
906     "properties": {
907     "disabled_channels": {
908     "$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/disabled_channels"
909     },
910     "immune_roles": {
911     "$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/immune_roles"
912     },
913     "immune_users": {
914     "$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/immune_users"
915     },
916     "actions": {
917     "$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/actions"
918     },
919     "verbal_warning_reason": {
920     "$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/verbal_warning_reason"
921     },
922     "warning_reason": {
923     "$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/warning_reason"
924     },
925     "mute_reason": {
926     "$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/mute_reason"
927     },
928     "common_reason": {
929     "$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/common_reason"
930     },
931     "mute_duration": {
932     "$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/mute_duration"
933     },
934     "mode": {
935     "$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/mode"
936     },
937     "data": {
938     "type": "array",
939     "items": {
940     "type": "string"
941     },
942     "default": []
943     },
944     "type": {
945     "type": "string",
946     "const": "blocked_mime_type"
947     }
948     },
949     "required": [
950     "type"
951     ],
952     "additionalProperties": false
953     },
954     {
955     "type": "object",
956     "properties": {
957     "disabled_channels": {
958     "$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/disabled_channels"
959     },
960     "immune_roles": {
961     "$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/immune_roles"
962     },
963     "immune_users": {
964     "$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/immune_users"
965     },
966     "actions": {
967     "$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/actions"
968     },
969     "verbal_warning_reason": {
970     "$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/verbal_warning_reason"
971     },
972     "warning_reason": {
973     "$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/warning_reason"
974     },
975     "mute_reason": {
976     "$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/mute_reason"
977     },
978     "common_reason": {
979     "$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/common_reason"
980     },
981     "mute_duration": {
982     "$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/mute_duration"
983     },
984     "mode": {
985     "$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/mode"
986     },
987     "data": {
988     "$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/1/properties/data"
989     },
990     "type": {
991     "type": "string",
992     "const": "blocked_file_extension"
993     }
994     },
995     "required": [
996     "type"
997     ],
998     "additionalProperties": false
999     },
1000     {
1001     "type": "object",
1002     "properties": {
1003     "disabled_channels": {
1004     "$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/disabled_channels"
1005     },
1006     "immune_roles": {
1007     "$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/immune_roles"
1008     },
1009     "immune_users": {
1010     "$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/immune_users"
1011     },
1012     "actions": {
1013     "$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/actions"
1014     },
1015     "verbal_warning_reason": {
1016     "$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/verbal_warning_reason"
1017     },
1018     "warning_reason": {
1019     "$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/warning_reason"
1020     },
1021     "mute_reason": {
1022     "$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/mute_reason"
1023     },
1024     "common_reason": {
1025     "$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/common_reason"
1026     },
1027     "mute_duration": {
1028     "$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/mute_duration"
1029     },
1030     "mode": {
1031     "$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/mode"
1032     },
1033     "type": {
1034     "type": "string",
1035     "const": "anti_invite"
1036     },
1037     "allowed_invite_codes": {
1038     "type": "array",
1039     "items": {
1040     "type": "string"
1041     },
1042     "default": []
1043     },
1044     "allow_internal_invites": {
1045     "type": "boolean",
1046     "default": true
1047     }
1048     },
1049     "required": [
1050     "type"
1051     ],
1052     "additionalProperties": false
1053     },
1054     {
1055     "type": "object",
1056     "properties": {
1057     "disabled_channels": {
1058     "$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/disabled_channels"
1059     },
1060     "immune_roles": {
1061     "$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/immune_roles"
1062     },
1063     "immune_users": {
1064     "$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/immune_users"
1065     },
1066     "actions": {
1067     "$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/actions"
1068     },
1069     "verbal_warning_reason": {
1070     "$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/verbal_warning_reason"
1071     },
1072     "warning_reason": {
1073     "$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/warning_reason"
1074     },
1075     "mute_reason": {
1076     "$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/mute_reason"
1077     },
1078     "common_reason": {
1079     "$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/common_reason"
1080     },
1081     "mute_duration": {
1082     "$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/mute_duration"
1083     },
1084     "mode": {
1085     "$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/mode"
1086     },
1087     "type": {
1088     "type": "string",
1089     "const": "regex_filter"
1090     },
1091     "patterns": {
1092     "type": "array",
1093     "items": {
1094     "anyOf": [
1095     {
1096     "type": "string"
1097     },
1098     {
1099     "type": "array",
1100     "minItems": 2,
1101     "maxItems": 2,
1102     "items": [
1103     {
1104     "type": "string"
1105     },
1106     {
1107     "type": "string"
1108     }
1109     ]
1110     }
1111     ]
1112     },
1113     "default": []
1114     }
1115     },
1116     "required": [
1117     "type"
1118     ],
1119     "additionalProperties": false
1120     },
1121     {
1122     "type": "object",
1123     "properties": {
1124     "disabled_channels": {
1125     "$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/disabled_channels"
1126     },
1127     "immune_roles": {
1128     "$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/immune_roles"
1129     },
1130     "immune_users": {
1131     "$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/immune_users"
1132     },
1133     "actions": {
1134     "$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/actions"
1135     },
1136     "verbal_warning_reason": {
1137     "$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/verbal_warning_reason"
1138     },
1139     "warning_reason": {
1140     "$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/warning_reason"
1141     },
1142     "mute_reason": {
1143     "$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/mute_reason"
1144     },
1145     "common_reason": {
1146     "$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/common_reason"
1147     },
1148     "mute_duration": {
1149     "$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/mute_duration"
1150     },
1151     "mode": {
1152     "$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/mode"
1153     },
1154     "type": {
1155     "type": "string",
1156     "const": "block_repeated_text"
1157     },
1158     "max_repeated_chars": {
1159     "type": "integer",
1160     "default": 20
1161     },
1162     "max_repeated_words": {
1163     "type": "integer",
1164     "default": 15
1165     }
1166     },
1167     "required": [
1168     "type"
1169     ],
1170     "additionalProperties": false
1171     },
1172     {
1173     "type": "object",
1174     "properties": {
1175     "disabled_channels": {
1176     "$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/disabled_channels"
1177     },
1178     "immune_roles": {
1179     "$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/immune_roles"
1180     },
1181     "immune_users": {
1182     "$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/immune_users"
1183     },
1184     "actions": {
1185     "$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/actions"
1186     },
1187     "verbal_warning_reason": {
1188     "$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/verbal_warning_reason"
1189     },
1190     "warning_reason": {
1191     "$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/warning_reason"
1192     },
1193     "mute_reason": {
1194     "$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/mute_reason"
1195     },
1196     "common_reason": {
1197     "$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/common_reason"
1198     },
1199     "mute_duration": {
1200     "$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/mute_duration"
1201     },
1202     "mode": {
1203     "$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/mode"
1204     },
1205     "type": {
1206     "type": "string",
1207     "const": "block_mass_mention"
1208     },
1209     "max_mentions": {
1210     "type": "integer",
1211     "default": 15
1212     },
1213     "max_user_mentions": {
1214     "type": "integer",
1215     "default": -1
1216     },
1217     "max_role_mentions": {
1218     "type": "integer",
1219     "default": -1
1220     }
1221     },
1222     "required": [
1223     "type"
1224     ],
1225     "additionalProperties": false
1226     },
1227     {
1228     "type": "object",
1229     "properties": {
1230     "disabled_channels": {
1231     "$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/disabled_channels"
1232     },
1233     "immune_roles": {
1234     "$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/immune_roles"
1235     },
1236     "immune_users": {
1237     "$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/immune_users"
1238     },
1239     "actions": {
1240     "$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/actions"
1241     },
1242     "verbal_warning_reason": {
1243     "$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/verbal_warning_reason"
1244     },
1245     "warning_reason": {
1246     "$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/warning_reason"
1247     },
1248     "mute_reason": {
1249     "$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/mute_reason"
1250     },
1251     "common_reason": {
1252     "$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/common_reason"
1253     },
1254     "mute_duration": {
1255     "$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/mute_duration"
1256     },
1257     "mode": {
1258     "$ref": "#/additionalProperties/anyOf/0/properties/message_rules/properties/rules/items/anyOf/0/properties/mode"
1259     },
1260     "type": {
1261     "type": "string",
1262     "const": "regex_must_match"
1263     },
1264     "patterns": {
1265     "type": "array",
1266     "items": {
1267     "anyOf": [
1268     {
1269     "type": "string"
1270     },
1271     {
1272     "type": "array",
1273     "minItems": 2,
1274     "maxItems": 2,
1275     "items": [
1276     {
1277     "type": "string"
1278     },
1279     {
1280     "type": "string"
1281     }
1282     ]
1283     }
1284     ]
1285     },
1286     "default": []
1287     }
1288     },
1289     "required": [
1290     "type"
1291     ],
1292     "additionalProperties": false
1293     }
1294     ]
1295     },
1296     "default": []
1297     },
1298     "global_disabled_channels": {
1299     "type": "array",
1300     "items": {
1301     "$ref": "#/additionalProperties/anyOf/0/properties/commands/properties/bean_safe/items"
1302     },
1303     "default": []
1304     }
1305     },
1306     "additionalProperties": false
1307     },
1308     "auto_triggers": {
1309     "type": "object",
1310     "properties": {
1311     "enabled": {
1312     "type": "boolean",
1313     "default": false
1314     },
1315     "triggers": {
1316     "type": "array",
1317     "items": {
1318     "anyOf": [
1319     {
1320     "type": "object",
1321     "properties": {
1322     "enabled_channels": {
1323     "anyOf": [
1324     {
1325     "type": "array",
1326     "items": {
1327     "$ref": "#/additionalProperties/anyOf/0/properties/commands/properties/bean_safe/items"
1328     },
1329     "default": []
1330     },
1331     {
1332     "type": "string",
1333     "const": "all"
1334     }
1335     ]
1336     },
1337     "ignore_roles": {
1338     "type": "array",
1339     "items": {
1340     "$ref": "#/additionalProperties/anyOf/0/properties/commands/properties/bean_safe/items"
1341     },
1342     "default": []
1343     },
1344     "ignore_users": {
1345     "type": "array",
1346     "items": {
1347     "$ref": "#/additionalProperties/anyOf/0/properties/commands/properties/bean_safe/items"
1348     },
1349     "default": []
1350     },
1351     "type": {
1352     "type": "string",
1353     "const": "sticky_message"
1354     },
1355     "message": {
1356     "type": "string"
1357     },
1358     "buttons": {
1359     "type": "array",
1360     "items": {
1361     "type": "object",
1362     "properties": {
1363     "label": {
1364     "type": "string"
1365     },
1366     "url": {
1367     "type": "string",
1368     "format": "uri"
1369     }
1370     },
1371     "required": [
1372     "label",
1373     "url"
1374     ],
1375     "additionalProperties": false
1376     },
1377     "maxItems": 3,
1378     "default": []
1379     }
1380     },
1381     "required": [
1382     "type",
1383     "message"
1384     ],
1385     "additionalProperties": false
1386     },
1387     {
1388     "type": "object",
1389     "properties": {
1390     "enabled_channels": {
1391     "$ref": "#/additionalProperties/anyOf/0/properties/auto_triggers/properties/triggers/items/anyOf/0/properties/enabled_channels"
1392     },
1393     "ignore_roles": {
1394     "$ref": "#/additionalProperties/anyOf/0/properties/auto_triggers/properties/triggers/items/anyOf/0/properties/ignore_roles"
1395     },
1396     "ignore_users": {
1397     "$ref": "#/additionalProperties/anyOf/0/properties/auto_triggers/properties/triggers/items/anyOf/0/properties/ignore_users"
1398     },
1399     "type": {
1400     "type": "string",
1401     "const": "member_status_update"
1402     },
1403     "must_contain": {
1404     "type": "array",
1405     "items": {
1406     "type": "string"
1407     },
1408     "default": []
1409     },
1410     "must_not_contain": {
1411     "type": "array",
1412     "items": {
1413     "type": "string"
1414     },
1415     "default": []
1416     },
1417     "action": {
1418     "type": "string",
1419     "enum": [
1420     "assign_role",
1421     "take_away_role"
1422     ]
1423     },
1424     "roles": {
1425     "type": "array",
1426     "items": {
1427     "$ref": "#/additionalProperties/anyOf/0/properties/commands/properties/bean_safe/items"
1428     },
1429     "default": []
1430     }
1431     },
1432     "required": [
1433     "type",
1434     "action"
1435     ],
1436     "additionalProperties": false
1437     }
1438     ]
1439     },
1440     "default": []
1441     },
1442     "global_disabled_channels": {
1443     "type": "array",
1444     "items": {
1445     "$ref": "#/additionalProperties/anyOf/0/properties/commands/properties/bean_safe/items"
1446     },
1447     "default": []
1448     }
1449     },
1450     "additionalProperties": false
1451     },
1452     "ai_automod": {
1453     "type": "object",
1454     "properties": {
1455     "enabled": {
1456     "type": "boolean",
1457     "default": false
1458     },
1459     "disabled_channels": {
1460     "type": "array",
1461     "items": {
1462     "$ref": "#/additionalProperties/anyOf/0/properties/commands/properties/bean_safe/items"
1463     },
1464     "default": []
1465     },
1466     "parameters": {
1467     "type": "object",
1468     "properties": {
1469     "max_toxicity": {
1470     "type": "integer",
1471     "minimum": 0,
1472     "maximum": 101,
1473     "default": 101
1474     },
1475     "max_severe_toxicity": {
1476     "type": "integer",
1477     "minimum": 0,
1478     "maximum": 101,
1479     "default": 101
1480     },
1481     "max_threat": {
1482     "type": "integer",
1483     "minimum": 0,
1484     "maximum": 101,
1485     "default": 101
1486     },
1487     "max_profanity": {
1488     "type": "integer",
1489     "minimum": 0,
1490     "maximum": 101,
1491     "default": 101
1492     },
1493     "max_flirtation": {
1494     "type": "integer",
1495     "minimum": 0,
1496     "maximum": 101,
1497     "default": 101
1498     },
1499     "max_identity_attack": {
1500     "type": "integer",
1501     "minimum": 0,
1502     "maximum": 101,
1503     "default": 101
1504     },
1505     "max_insult": {
1506     "type": "integer",
1507     "minimum": 0,
1508     "maximum": 101,
1509     "default": 101
1510     },
1511     "max_explicit": {
1512     "type": "integer",
1513     "minimum": 0,
1514     "maximum": 101,
1515     "default": 101
1516     }
1517     },
1518     "additionalProperties": false,
1519     "default": {}
1520     }
1521     },
1522     "additionalProperties": false
1523     },
1524     "extensions": {
1525     "type": "object",
1526     "properties": {
1527     "enabled": {
1528     "type": "boolean"
1529     },
1530     "installed_extensions": {
1531     "type": "array",
1532     "items": {
1533     "type": "string"
1534     },
1535     "default": []
1536     },
1537     "disabled_extensions": {
1538     "type": "array",
1539     "items": {
1540     "type": "string"
1541     },
1542     "default": []
1543     }
1544     },
1545     "additionalProperties": false
1546     },
1547     "bump_reminder": {
1548     "type": "object",
1549     "properties": {
1550     "enabled": {
1551     "type": "boolean"
1552     },
1553     "disabled_channels": {
1554     "type": "array",
1555     "items": {
1556     "$ref": "#/additionalProperties/anyOf/0/properties/commands/properties/bean_safe/items"
1557     },
1558     "default": []
1559     },
1560     "remind_after": {
1561     "type": "integer",
1562     "default": 7200000
1563     },
1564     "reminder_content": {
1565     "type": "string",
1566     "minLength": 1
1567     },
1568     "on_bump_content": {
1569     "type": "string",
1570     "minLength": 1
1571     }
1572     },
1573     "additionalProperties": false
1574     }
1575     },
1576     "additionalProperties": false
1577     },
1578     {
1579     "type": "string"
1580     }
1581     ]
1582     },
1583     "$schema": "http://json-schema.org/draft-07/schema#"
1584     }

Properties

Name Value
svn:executable *

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26