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

Diff of /trunk/config/schema/config.json

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 630 by rakinar2, Sat Sep 7 09:38:45 2024 UTC revision 631 by rakinar2, Tue Sep 10 15:53:22 2024 UTC
# Line 191  Line 191 
191                                  },                                  },
192                                  "additionalProperties": false                                  "additionalProperties": false
193                              },                              },
194                                "channel_archives": {
195                                    "type": "object",
196                                    "properties": {
197                                        "enabled": {
198                                            "type": "boolean",
199                                            "default": false
200                                        },
201                                        "archive_category": {
202                                            "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/commands/properties/channels/properties/list/items"
203                                        },
204                                        "ignored_channels": {
205                                            "type": "array",
206                                            "items": {
207                                                "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/commands/properties/channels/properties/list/items"
208                                            },
209                                            "default": []
210                                        }
211                                    },
212                                    "required": [
213                                        "archive_category"
214                                    ],
215                                    "additionalProperties": false
216                                },
217                              "infractions": {                              "infractions": {
218                                  "type": "object",                                  "type": "object",
219                                  "properties": {                                  "properties": {
# Line 548  Line 571 
571                                  ],                                  ],
572                                  "additionalProperties": false                                  "additionalProperties": false
573                              },                              },
574                                "ai_automod": {
575                                    "type": "object",
576                                    "properties": {
577                                        "enabled": {
578                                            "type": "boolean",
579                                            "default": false
580                                        },
581                                        "max_total_score": {
582                                            "type": "integer",
583                                            "default": 10
584                                        },
585                                        "max_single_score": {
586                                            "type": "integer",
587                                            "default": 7
588                                        },
589                                        "max_individual_scores": {
590                                            "type": "object",
591                                            "properties": {
592                                                "toxicity": {
593                                                    "type": "integer",
594                                                    "default": 7
595                                                },
596                                                "threat": {
597                                                    "type": "integer",
598                                                    "default": 7
599                                                },
600                                                "severe_toxicity": {
601                                                    "type": "integer",
602                                                    "default": 7
603                                                },
604                                                "identity_attack": {
605                                                    "type": "integer",
606                                                    "default": 7
607                                                },
608                                                "insult": {
609                                                    "type": "integer",
610                                                    "default": 7
611                                                },
612                                                "profanity": {
613                                                    "type": "integer",
614                                                    "default": 7
615                                                },
616                                                "sexually_explicit": {
617                                                    "type": "integer",
618                                                    "default": 7
619                                                },
620                                                "flirtation": {
621                                                    "type": "integer",
622                                                    "default": 7
623                                                },
624                                                "spam": {
625                                                    "type": "integer",
626                                                    "default": 7
627                                                },
628                                                "obscene": {
629                                                    "type": "integer",
630                                                    "default": 7
631                                                },
632                                                "incoherent": {
633                                                    "type": "integer",
634                                                    "default": 7
635                                                },
636                                                "unsubstantial": {
637                                                    "type": "integer",
638                                                    "default": 7
639                                                }
640                                            },
641                                            "additionalProperties": false
642                                        },
643                                        "exception_regex_patterns": {
644                                            "type": "array",
645                                            "items": {
646                                                "anyOf": [
647                                                    {
648                                                        "type": "string"
649                                                    },
650                                                    {
651                                                        "type": "array",
652                                                        "minItems": 2,
653                                                        "maxItems": 2,
654                                                        "items": [
655                                                            {
656                                                                "type": "string"
657                                                            },
658                                                            {
659                                                                "type": "string"
660                                                            }
661                                                        ]
662                                                    }
663                                                ]
664                                            },
665                                            "default": []
666                                        },
667                                        "evaluate_after_attempts": {
668                                            "type": "integer",
669                                            "default": -1
670                                        },
671                                        "evaluation_cache_expires_in": {
672                                            "type": "integer",
673                                            "default": 3000
674                                        },
675                                        "actions": {
676                                            "type": "array",
677                                            "items": {
678                                                "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/antispam/properties/actions/items"
679                                            },
680                                            "default": []
681                                        },
682                                        "automatic_actions": {
683                                            "type": "object",
684                                            "properties": {
685                                                "enabled": {
686                                                    "type": "boolean",
687                                                    "default": false
688                                                },
689                                                "stops": {
690                                                    "type": "object",
691                                                    "additionalProperties": {
692                                                        "type": "array",
693                                                        "items": {
694                                                            "$ref": "#/additionalProperties/anyOf/0/anyOf/1/properties/antispam/properties/actions/items"
695                                                        }
696                                                    },
697                                                    "default": {
698                                                        "12": [
699                                                            {
700                                                                "type": "mute",
701                                                                "duration": 7200000
702                                                            }
703                                                        ],
704                                                        "*": [
705                                                            {
706                                                                "type": "delete_message"
707                                                            }
708                                                        ]
709                                                    }
710                                                }
711                                            },
712                                            "additionalProperties": false
713                                        }
714                                    },
715                                    "additionalProperties": false
716                                },
717                              "extensions": {                              "extensions": {
718                                  "type": "object",                                  "type": "object",
719                                  "properties": {                                  "properties": {

Legend:
Removed from v.630  
changed lines
  Added in v.631

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26