{ "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "propertyNames": { "type": "string" }, "additionalProperties": { "type": "object", "properties": { "prefix": { "default": "-", "type": "string" }, "debug_mode": { "default": false, "type": "boolean" }, "commands": { "type": "object", "properties": { "mention_prefix": { "default": true, "type": "boolean" }, "moderation_command_behavior": { "default": "default", "type": "string", "enum": [ "delete", "default" ] }, "rerun_on_edit": { "default": false, "type": "boolean" }, "channels": { "type": "object", "properties": { "list": { "default": [], "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } }, "mode": { "default": "exclude", "type": "string", "enum": [ "exclude", "include" ] } }, "required": [ "list", "mode" ], "additionalProperties": false }, "disabled_commands": { "default": [], "type": "array", "items": { "type": "string" } }, "respond_on_precondition_fail": { "default": true, "type": "boolean" }, "ratelimiting": { "type": "object", "properties": { "enabled": { "default": true, "type": "boolean" }, "timeframe": { "default": 7000, "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, "max_attempts": { "default": 5, "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, "block_duration": { "default": 1000, "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, "overrides": { "type": "object", "propertyNames": { "type": "string" }, "additionalProperties": { "type": "object", "properties": { "enabled": { "default": true, "type": "boolean" }, "timeframe": { "default": 7000, "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, "max_attempts": { "default": 5, "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, "block_duration": { "default": 1000, "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 } }, "required": [ "enabled", "timeframe", "max_attempts", "block_duration" ], "additionalProperties": false } } }, "required": [ "enabled", "timeframe", "max_attempts", "block_duration", "overrides" ], "additionalProperties": false }, "troll_command_immune_users": { "default": [], "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } } }, "required": [ "mention_prefix", "moderation_command_behavior", "rerun_on_edit", "channels", "disabled_commands", "respond_on_precondition_fail", "troll_command_immune_users" ], "additionalProperties": false }, "permissions": { "type": "object", "properties": { "invincible": { "type": "object", "properties": { "roles": { "default": [], "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } }, "users": { "default": [], "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } } }, "required": [ "roles", "users" ], "additionalProperties": false }, "mode": { "default": "discord", "anyOf": [ { "type": "string", "const": "discord" }, { "type": "string", "const": "levels" }, { "type": "string", "const": "layered" } ] }, "check_discord_permissions": { "default": "always", "type": "string", "enum": [ "always", "during_automod", "during_manual_actions", "never" ] }, "command_permission_mode": { "type": "string", "enum": [ "ignore", "overwrite", "check" ] } }, "required": [ "check_discord_permissions" ], "additionalProperties": false }, "echoing": { "type": "object", "properties": { "allow_mentions": { "default": true, "type": "boolean" } }, "required": [ "allow_mentions" ], "additionalProperties": false }, "channel_archives": { "type": "object", "properties": { "enabled": { "default": false, "type": "boolean" }, "archive_category": { "type": "string", "pattern": "^\\d{16,22}$" }, "ignored_channels": { "default": [], "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } } }, "required": [ "enabled", "archive_category", "ignored_channels" ], "additionalProperties": false }, "infractions": { "type": "object", "properties": { "send_ids_to_user": { "default": false, "type": "boolean" }, "dm_fallback": { "default": "none", "type": "string", "enum": [ "none", "create_channel", "create_thread" ] }, "dm_fallback_parent_channel": { "type": "string", "pattern": "^\\d{16,22}$" }, "dm_fallback_channel_expires_in": { "default": 604800000, "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, "reason_templates": { "default": {}, "description": "A record of reason templates. The key is the name of the template, and the value is the template itself.", "type": "object", "propertyNames": { "type": "string", "pattern": "^[A-Za-z0-9_-]+$" }, "additionalProperties": { "type": "string", "minLength": 1 } }, "reason_template_placeholder_wrapper": { "default": "{{%name%}}", "type": "string" }, "points": { "type": "object", "properties": { "warning": { "default": 1, "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, "mute": { "default": 3, "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, "timeout": { "default": 3, "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, "kick": { "default": 5, "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, "ban": { "default": 10, "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, "tempban": { "default": 8, "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, "softban": { "default": 7, "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, "unban": { "default": 0, "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, "note": { "default": 0, "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, "clear": { "default": 0, "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, "role": { "default": 0, "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, "mod_message": { "default": 2, "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, "massban": { "default": 10, "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, "masskick": { "default": 5, "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, "reaction_clear": { "default": 0, "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 } }, "required": [ "warning", "mute", "timeout", "kick", "ban", "tempban", "softban", "unban", "note", "clear", "role", "mod_message", "massban", "masskick", "reaction_clear" ], "additionalProperties": false } }, "required": [ "send_ids_to_user", "dm_fallback", "dm_fallback_channel_expires_in", "reason_templates", "reason_template_placeholder_wrapper", "points" ], "additionalProperties": false }, "antispam": { "type": "object", "properties": { "enabled": { "default": false, "type": "boolean" }, "limit": { "type": "integer", "minimum": 1, "maximum": 9007199254740991 }, "timeframe": { "type": "integer", "minimum": 1, "maximum": 9007199254740991 }, "channels": { "type": "object", "properties": { "list": { "default": [], "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } }, "mode": { "default": "exclude", "type": "string", "enum": [ "exclude", "include" ] } }, "required": [ "list", "mode" ], "additionalProperties": false }, "actions": { "type": "array", "items": { "anyOf": [ { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "ban" }, "delete_timeframe": { "type": "integer", "minimum": 0, "maximum": 604800000 }, "duration": { "type": "integer", "minimum": 0, "maximum": 9007199254740991 } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "kick" } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "mute" }, "duration": { "type": "integer", "minimum": 0, "maximum": 9007199254740991 } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "role" }, "mode": { "type": "string", "enum": [ "give", "take" ] }, "roles": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } }, "duration": { "type": "integer", "minimum": 0, "maximum": 9007199254740991 } }, "required": [ "type", "mode", "roles" ], "additionalProperties": false }, { "type": "object", "properties": { "type": { "type": "string", "const": "none" } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "warn" } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "notify": { "default": true, "type": "boolean", "const": true }, "type": { "type": "string", "const": "verbal_warn" }, "reason": { "type": "string" } }, "required": [ "notify", "type" ], "additionalProperties": false }, { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "clear" }, "count": { "default": 20, "type": "integer", "minimum": 1, "maximum": 9007199254740991 } }, "required": [ "type", "count" ], "additionalProperties": false }, { "type": "object", "properties": { "type": { "type": "string", "const": "delete_message" } }, "required": [ "type" ], "additionalProperties": false } ] } } }, "required": [ "enabled", "limit", "timeframe", "channels", "actions" ], "additionalProperties": false }, "ai_automod": { "type": "object", "properties": { "enabled": { "default": false, "type": "boolean" }, "max_total_score": { "default": 10, "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, "max_single_score": { "default": 7, "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, "max_individual_scores": { "type": "object", "properties": { "toxicity": { "default": 7, "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, "threat": { "default": 7, "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, "severe_toxicity": { "default": 7, "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, "identity_attack": { "default": 7, "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, "insult": { "default": 7, "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, "profanity": { "default": 7, "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, "sexually_explicit": { "default": 7, "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, "flirtation": { "default": 7, "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, "spam": { "default": 7, "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, "obscene": { "default": 7, "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, "incoherent": { "default": 7, "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, "unsubstantial": { "default": 7, "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 } }, "required": [ "toxicity", "threat", "severe_toxicity", "identity_attack", "insult", "profanity", "sexually_explicit", "flirtation", "spam", "obscene", "incoherent", "unsubstantial" ], "additionalProperties": false }, "exception_regex_patterns": { "default": [], "type": "array", "items": { "anyOf": [ { "type": "string" }, { "type": "array", "prefixItems": [ { "type": "string" }, { "type": "string" } ] } ] } }, "evaluate_after_attempts": { "default": -1, "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, "evaluation_cache_expires_in": { "default": 3000, "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, "actions": { "default": [], "type": "array", "items": { "anyOf": [ { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "ban" }, "delete_timeframe": { "type": "integer", "minimum": 0, "maximum": 604800000 }, "duration": { "type": "integer", "minimum": 0, "maximum": 9007199254740991 } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "kick" } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "mute" }, "duration": { "type": "integer", "minimum": 0, "maximum": 9007199254740991 } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "role" }, "mode": { "type": "string", "enum": [ "give", "take" ] }, "roles": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } }, "duration": { "type": "integer", "minimum": 0, "maximum": 9007199254740991 } }, "required": [ "type", "mode", "roles" ], "additionalProperties": false }, { "type": "object", "properties": { "type": { "type": "string", "const": "none" } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "warn" } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "notify": { "default": true, "type": "boolean", "const": true }, "type": { "type": "string", "const": "verbal_warn" }, "reason": { "type": "string" } }, "required": [ "notify", "type" ], "additionalProperties": false }, { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "clear" }, "count": { "default": 20, "type": "integer", "minimum": 1, "maximum": 9007199254740991 } }, "required": [ "type", "count" ], "additionalProperties": false }, { "type": "object", "properties": { "type": { "type": "string", "const": "delete_message" } }, "required": [ "type" ], "additionalProperties": false } ] } }, "automatic_actions": { "type": "object", "properties": { "enabled": { "default": false, "type": "boolean" }, "stops": { "type": "object", "propertyNames": { "anyOf": [ { "type": "string", "pattern": "[0-9.]+" }, { "type": "string", "const": "*" } ] }, "additionalProperties": { "type": "array", "items": { "anyOf": [ { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "ban" }, "delete_timeframe": { "type": "integer", "minimum": 0, "maximum": 604800000 }, "duration": { "type": "integer", "minimum": 0, "maximum": 9007199254740991 } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "kick" } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "mute" }, "duration": { "type": "integer", "minimum": 0, "maximum": 9007199254740991 } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "role" }, "mode": { "type": "string", "enum": [ "give", "take" ] }, "roles": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } }, "duration": { "type": "integer", "minimum": 0, "maximum": 9007199254740991 } }, "required": [ "type", "mode", "roles" ], "additionalProperties": false }, { "type": "object", "properties": { "type": { "type": "string", "const": "none" } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "warn" } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "notify": { "default": true, "type": "boolean", "const": true }, "type": { "type": "string", "const": "verbal_warn" }, "reason": { "type": "string" } }, "required": [ "notify", "type" ], "additionalProperties": false }, { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "clear" }, "count": { "default": 20, "type": "integer", "minimum": 1, "maximum": 9007199254740991 } }, "required": [ "type", "count" ], "additionalProperties": false }, { "type": "object", "properties": { "type": { "type": "string", "const": "delete_message" } }, "required": [ "type" ], "additionalProperties": false } ] } } } }, "required": [ "enabled", "stops" ], "additionalProperties": false } }, "required": [ "enabled", "max_total_score", "max_single_score", "exception_regex_patterns", "evaluate_after_attempts", "evaluation_cache_expires_in", "actions" ], "additionalProperties": false }, "extensions": { "type": "object", "properties": { "enabled": { "type": "boolean" }, "installed_extensions": { "default": [], "type": "array", "items": { "type": "string" } }, "disabled_extensions": { "default": [], "type": "array", "items": { "type": "string" } } }, "required": [ "installed_extensions", "disabled_extensions" ], "additionalProperties": false }, "muting": { "type": "object", "properties": { "role": { "type": "string", "pattern": "^\\d{16,22}$" } }, "additionalProperties": false }, "rule_moderation": { "type": "object", "properties": { "enabled": { "default": false, "type": "boolean" }, "rules": { "default": [], "type": "array", "items": { "anyOf": [ { "description": "[DEPRECATED] Use RegexFilterRule instead.", "type": "object", "properties": { "name": { "default": null, "anyOf": [ { "type": "string" }, { "type": "null" } ] }, "actions": { "default": [], "type": "array", "items": { "anyOf": [ { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "ban" }, "delete_timeframe": { "type": "integer", "minimum": 0, "maximum": 604800000 }, "duration": { "type": "integer", "minimum": 0, "maximum": 9007199254740991 } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "kick" } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "mute" }, "duration": { "type": "integer", "minimum": 0, "maximum": 9007199254740991 } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "role" }, "mode": { "type": "string", "enum": [ "give", "take" ] }, "roles": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } }, "duration": { "type": "integer", "minimum": 0, "maximum": 9007199254740991 } }, "required": [ "type", "mode", "roles" ], "additionalProperties": false }, { "type": "object", "properties": { "type": { "type": "string", "const": "none" } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "warn" } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "notify": { "default": true, "type": "boolean", "const": true }, "type": { "type": "string", "const": "verbal_warn" }, "reason": { "type": "string" } }, "required": [ "notify", "type" ], "additionalProperties": false }, { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "clear" }, "count": { "default": 20, "type": "integer", "minimum": 1, "maximum": 9007199254740991 } }, "required": [ "type", "count" ], "additionalProperties": false }, { "type": "object", "properties": { "type": { "type": "string", "const": "delete_message" } }, "required": [ "type" ], "additionalProperties": false } ] } }, "mode": { "default": "normal", "type": "string", "enum": [ "normal", "invert" ] }, "enabled": { "default": true, "type": "boolean" }, "bail": { "default": true, "type": "boolean" }, "for": { "type": "object", "properties": { "roles": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } }, "users": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } }, "channels": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } } }, "additionalProperties": false }, "exceptions": { "type": "object", "properties": { "roles": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } }, "users": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } }, "channels": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } } }, "additionalProperties": false }, "is_bypasser": { "default": false, "type": "boolean" }, "bypasses": { "default": null, "anyOf": [ { "type": "array", "items": { "type": "string" } }, { "type": "null" } ] }, "type": { "type": "string", "const": "domain_filter" }, "domains": { "default": [], "type": "array", "items": { "type": "string" } }, "scan_links_only": { "default": false, "type": "boolean" } }, "required": [ "name", "actions", "mode", "enabled", "bail", "is_bypasser", "bypasses", "type", "domains", "scan_links_only" ], "additionalProperties": false }, { "type": "object", "properties": { "name": { "default": null, "anyOf": [ { "type": "string" }, { "type": "null" } ] }, "actions": { "default": [], "type": "array", "items": { "anyOf": [ { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "ban" }, "delete_timeframe": { "type": "integer", "minimum": 0, "maximum": 604800000 }, "duration": { "type": "integer", "minimum": 0, "maximum": 9007199254740991 } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "kick" } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "mute" }, "duration": { "type": "integer", "minimum": 0, "maximum": 9007199254740991 } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "role" }, "mode": { "type": "string", "enum": [ "give", "take" ] }, "roles": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } }, "duration": { "type": "integer", "minimum": 0, "maximum": 9007199254740991 } }, "required": [ "type", "mode", "roles" ], "additionalProperties": false }, { "type": "object", "properties": { "type": { "type": "string", "const": "none" } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "warn" } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "notify": { "default": true, "type": "boolean", "const": true }, "type": { "type": "string", "const": "verbal_warn" }, "reason": { "type": "string" } }, "required": [ "notify", "type" ], "additionalProperties": false }, { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "clear" }, "count": { "default": 20, "type": "integer", "minimum": 1, "maximum": 9007199254740991 } }, "required": [ "type", "count" ], "additionalProperties": false }, { "type": "object", "properties": { "type": { "type": "string", "const": "delete_message" } }, "required": [ "type" ], "additionalProperties": false } ] } }, "mode": { "default": "normal", "type": "string", "enum": [ "normal", "invert" ] }, "enabled": { "default": true, "type": "boolean" }, "bail": { "default": true, "type": "boolean" }, "for": { "type": "object", "properties": { "roles": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } }, "users": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } }, "channels": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } } }, "additionalProperties": false }, "exceptions": { "type": "object", "properties": { "roles": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } }, "users": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } }, "channels": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } } }, "additionalProperties": false }, "is_bypasser": { "default": false, "type": "boolean" }, "bypasses": { "default": null, "anyOf": [ { "type": "array", "items": { "type": "string" } }, { "type": "null" } ] }, "data": { "default": [], "type": "array", "items": { "type": "string" } }, "type": { "type": "string", "const": "mime_type_filter" } }, "required": [ "name", "actions", "mode", "enabled", "bail", "is_bypasser", "bypasses", "data", "type" ], "additionalProperties": false }, { "type": "object", "properties": { "name": { "default": null, "anyOf": [ { "type": "string" }, { "type": "null" } ] }, "actions": { "default": [], "type": "array", "items": { "anyOf": [ { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "ban" }, "delete_timeframe": { "type": "integer", "minimum": 0, "maximum": 604800000 }, "duration": { "type": "integer", "minimum": 0, "maximum": 9007199254740991 } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "kick" } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "mute" }, "duration": { "type": "integer", "minimum": 0, "maximum": 9007199254740991 } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "role" }, "mode": { "type": "string", "enum": [ "give", "take" ] }, "roles": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } }, "duration": { "type": "integer", "minimum": 0, "maximum": 9007199254740991 } }, "required": [ "type", "mode", "roles" ], "additionalProperties": false }, { "type": "object", "properties": { "type": { "type": "string", "const": "none" } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "warn" } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "notify": { "default": true, "type": "boolean", "const": true }, "type": { "type": "string", "const": "verbal_warn" }, "reason": { "type": "string" } }, "required": [ "notify", "type" ], "additionalProperties": false }, { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "clear" }, "count": { "default": 20, "type": "integer", "minimum": 1, "maximum": 9007199254740991 } }, "required": [ "type", "count" ], "additionalProperties": false }, { "type": "object", "properties": { "type": { "type": "string", "const": "delete_message" } }, "required": [ "type" ], "additionalProperties": false } ] } }, "mode": { "default": "normal", "type": "string", "enum": [ "normal", "invert" ] }, "enabled": { "default": true, "type": "boolean" }, "bail": { "default": true, "type": "boolean" }, "for": { "type": "object", "properties": { "roles": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } }, "users": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } }, "channels": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } } }, "additionalProperties": false }, "exceptions": { "type": "object", "properties": { "roles": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } }, "users": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } }, "channels": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } } }, "additionalProperties": false }, "is_bypasser": { "default": false, "type": "boolean" }, "bypasses": { "default": null, "anyOf": [ { "type": "array", "items": { "type": "string" } }, { "type": "null" } ] }, "data": { "default": [], "type": "array", "items": { "type": "string" } }, "type": { "type": "string", "const": "file_extension_filter" } }, "required": [ "name", "actions", "mode", "enabled", "bail", "is_bypasser", "bypasses", "data", "type" ], "additionalProperties": false }, { "type": "object", "properties": { "name": { "default": null, "anyOf": [ { "type": "string" }, { "type": "null" } ] }, "actions": { "default": [], "type": "array", "items": { "anyOf": [ { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "ban" }, "delete_timeframe": { "type": "integer", "minimum": 0, "maximum": 604800000 }, "duration": { "type": "integer", "minimum": 0, "maximum": 9007199254740991 } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "kick" } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "mute" }, "duration": { "type": "integer", "minimum": 0, "maximum": 9007199254740991 } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "role" }, "mode": { "type": "string", "enum": [ "give", "take" ] }, "roles": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } }, "duration": { "type": "integer", "minimum": 0, "maximum": 9007199254740991 } }, "required": [ "type", "mode", "roles" ], "additionalProperties": false }, { "type": "object", "properties": { "type": { "type": "string", "const": "none" } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "warn" } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "notify": { "default": true, "type": "boolean", "const": true }, "type": { "type": "string", "const": "verbal_warn" }, "reason": { "type": "string" } }, "required": [ "notify", "type" ], "additionalProperties": false }, { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "clear" }, "count": { "default": 20, "type": "integer", "minimum": 1, "maximum": 9007199254740991 } }, "required": [ "type", "count" ], "additionalProperties": false }, { "type": "object", "properties": { "type": { "type": "string", "const": "delete_message" } }, "required": [ "type" ], "additionalProperties": false } ] } }, "mode": { "default": "normal", "type": "string", "enum": [ "normal", "invert" ] }, "enabled": { "default": true, "type": "boolean" }, "bail": { "default": true, "type": "boolean" }, "for": { "type": "object", "properties": { "roles": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } }, "users": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } }, "channels": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } } }, "additionalProperties": false }, "exceptions": { "type": "object", "properties": { "roles": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } }, "users": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } }, "channels": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } } }, "additionalProperties": false }, "is_bypasser": { "default": false, "type": "boolean" }, "bypasses": { "default": null, "anyOf": [ { "type": "array", "items": { "type": "string" } }, { "type": "null" } ] }, "type": { "type": "string", "const": "anti_invite" }, "allowed_invite_codes": { "default": [], "type": "array", "items": { "type": "string" } }, "allow_internal_invites": { "default": true, "type": "boolean" } }, "required": [ "name", "actions", "mode", "enabled", "bail", "is_bypasser", "bypasses", "type", "allowed_invite_codes", "allow_internal_invites" ], "additionalProperties": false }, { "type": "object", "properties": { "name": { "default": null, "anyOf": [ { "type": "string" }, { "type": "null" } ] }, "actions": { "default": [], "type": "array", "items": { "anyOf": [ { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "ban" }, "delete_timeframe": { "type": "integer", "minimum": 0, "maximum": 604800000 }, "duration": { "type": "integer", "minimum": 0, "maximum": 9007199254740991 } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "kick" } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "mute" }, "duration": { "type": "integer", "minimum": 0, "maximum": 9007199254740991 } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "role" }, "mode": { "type": "string", "enum": [ "give", "take" ] }, "roles": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } }, "duration": { "type": "integer", "minimum": 0, "maximum": 9007199254740991 } }, "required": [ "type", "mode", "roles" ], "additionalProperties": false }, { "type": "object", "properties": { "type": { "type": "string", "const": "none" } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "warn" } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "notify": { "default": true, "type": "boolean", "const": true }, "type": { "type": "string", "const": "verbal_warn" }, "reason": { "type": "string" } }, "required": [ "notify", "type" ], "additionalProperties": false }, { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "clear" }, "count": { "default": 20, "type": "integer", "minimum": 1, "maximum": 9007199254740991 } }, "required": [ "type", "count" ], "additionalProperties": false }, { "type": "object", "properties": { "type": { "type": "string", "const": "delete_message" } }, "required": [ "type" ], "additionalProperties": false } ] } }, "mode": { "default": "normal", "type": "string", "enum": [ "normal", "invert" ] }, "enabled": { "default": true, "type": "boolean" }, "bail": { "default": true, "type": "boolean" }, "for": { "type": "object", "properties": { "roles": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } }, "users": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } }, "channels": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } } }, "additionalProperties": false }, "exceptions": { "type": "object", "properties": { "roles": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } }, "users": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } }, "channels": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } } }, "additionalProperties": false }, "is_bypasser": { "default": false, "type": "boolean" }, "bypasses": { "default": null, "anyOf": [ { "type": "array", "items": { "type": "string" } }, { "type": "null" } ] }, "type": { "type": "string", "const": "regex_filter" }, "patterns": { "default": [], "type": "array", "items": { "anyOf": [ { "type": "string" }, { "type": "array", "prefixItems": [ { "description": "The pattern", "type": "string" }, { "description": "The flags for this regex pattern", "type": "string" } ] } ] } } }, "required": [ "name", "actions", "mode", "enabled", "bail", "is_bypasser", "bypasses", "type", "patterns" ], "additionalProperties": false }, { "type": "object", "properties": { "name": { "default": null, "anyOf": [ { "type": "string" }, { "type": "null" } ] }, "actions": { "default": [], "type": "array", "items": { "anyOf": [ { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "ban" }, "delete_timeframe": { "type": "integer", "minimum": 0, "maximum": 604800000 }, "duration": { "type": "integer", "minimum": 0, "maximum": 9007199254740991 } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "kick" } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "mute" }, "duration": { "type": "integer", "minimum": 0, "maximum": 9007199254740991 } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "role" }, "mode": { "type": "string", "enum": [ "give", "take" ] }, "roles": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } }, "duration": { "type": "integer", "minimum": 0, "maximum": 9007199254740991 } }, "required": [ "type", "mode", "roles" ], "additionalProperties": false }, { "type": "object", "properties": { "type": { "type": "string", "const": "none" } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "warn" } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "notify": { "default": true, "type": "boolean", "const": true }, "type": { "type": "string", "const": "verbal_warn" }, "reason": { "type": "string" } }, "required": [ "notify", "type" ], "additionalProperties": false }, { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "clear" }, "count": { "default": 20, "type": "integer", "minimum": 1, "maximum": 9007199254740991 } }, "required": [ "type", "count" ], "additionalProperties": false }, { "type": "object", "properties": { "type": { "type": "string", "const": "delete_message" } }, "required": [ "type" ], "additionalProperties": false } ] } }, "mode": { "default": "normal", "type": "string", "enum": [ "normal", "invert" ] }, "enabled": { "default": true, "type": "boolean" }, "bail": { "default": true, "type": "boolean" }, "for": { "type": "object", "properties": { "roles": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } }, "users": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } }, "channels": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } } }, "additionalProperties": false }, "exceptions": { "type": "object", "properties": { "roles": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } }, "users": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } }, "channels": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } } }, "additionalProperties": false }, "is_bypasser": { "default": false, "type": "boolean" }, "bypasses": { "default": null, "anyOf": [ { "type": "array", "items": { "type": "string" } }, { "type": "null" } ] }, "type": { "type": "string", "const": "repeated_text_filter" }, "max_repeated_chars": { "default": 20, "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, "max_repeated_words": { "default": 15, "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 } }, "required": [ "name", "actions", "mode", "enabled", "bail", "is_bypasser", "bypasses", "type", "max_repeated_chars", "max_repeated_words" ], "additionalProperties": false }, { "type": "object", "properties": { "name": { "default": null, "anyOf": [ { "type": "string" }, { "type": "null" } ] }, "actions": { "default": [], "type": "array", "items": { "anyOf": [ { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "ban" }, "delete_timeframe": { "type": "integer", "minimum": 0, "maximum": 604800000 }, "duration": { "type": "integer", "minimum": 0, "maximum": 9007199254740991 } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "kick" } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "mute" }, "duration": { "type": "integer", "minimum": 0, "maximum": 9007199254740991 } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "role" }, "mode": { "type": "string", "enum": [ "give", "take" ] }, "roles": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } }, "duration": { "type": "integer", "minimum": 0, "maximum": 9007199254740991 } }, "required": [ "type", "mode", "roles" ], "additionalProperties": false }, { "type": "object", "properties": { "type": { "type": "string", "const": "none" } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "warn" } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "notify": { "default": true, "type": "boolean", "const": true }, "type": { "type": "string", "const": "verbal_warn" }, "reason": { "type": "string" } }, "required": [ "notify", "type" ], "additionalProperties": false }, { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "clear" }, "count": { "default": 20, "type": "integer", "minimum": 1, "maximum": 9007199254740991 } }, "required": [ "type", "count" ], "additionalProperties": false }, { "type": "object", "properties": { "type": { "type": "string", "const": "delete_message" } }, "required": [ "type" ], "additionalProperties": false } ] } }, "mode": { "default": "normal", "type": "string", "enum": [ "normal", "invert" ] }, "enabled": { "default": true, "type": "boolean" }, "bail": { "default": true, "type": "boolean" }, "for": { "type": "object", "properties": { "roles": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } }, "users": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } }, "channels": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } } }, "additionalProperties": false }, "exceptions": { "type": "object", "properties": { "roles": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } }, "users": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } }, "channels": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } } }, "additionalProperties": false }, "is_bypasser": { "default": false, "type": "boolean" }, "bypasses": { "default": null, "anyOf": [ { "type": "array", "items": { "type": "string" } }, { "type": "null" } ] }, "type": { "type": "string", "const": "mass_mention_filter" }, "max_mentions": { "default": 15, "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, "max_user_mentions": { "default": -1, "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, "max_role_mentions": { "default": -1, "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 } }, "required": [ "name", "actions", "mode", "enabled", "bail", "is_bypasser", "bypasses", "type", "max_mentions", "max_user_mentions", "max_role_mentions" ], "additionalProperties": false }, { "type": "object", "properties": { "name": { "default": null, "anyOf": [ { "type": "string" }, { "type": "null" } ] }, "actions": { "default": [], "type": "array", "items": { "anyOf": [ { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "ban" }, "delete_timeframe": { "type": "integer", "minimum": 0, "maximum": 604800000 }, "duration": { "type": "integer", "minimum": 0, "maximum": 9007199254740991 } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "kick" } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "mute" }, "duration": { "type": "integer", "minimum": 0, "maximum": 9007199254740991 } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "role" }, "mode": { "type": "string", "enum": [ "give", "take" ] }, "roles": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } }, "duration": { "type": "integer", "minimum": 0, "maximum": 9007199254740991 } }, "required": [ "type", "mode", "roles" ], "additionalProperties": false }, { "type": "object", "properties": { "type": { "type": "string", "const": "none" } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "warn" } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "notify": { "default": true, "type": "boolean", "const": true }, "type": { "type": "string", "const": "verbal_warn" }, "reason": { "type": "string" } }, "required": [ "notify", "type" ], "additionalProperties": false }, { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "clear" }, "count": { "default": 20, "type": "integer", "minimum": 1, "maximum": 9007199254740991 } }, "required": [ "type", "count" ], "additionalProperties": false }, { "type": "object", "properties": { "type": { "type": "string", "const": "delete_message" } }, "required": [ "type" ], "additionalProperties": false } ] } }, "mode": { "default": "normal", "type": "string", "enum": [ "normal", "invert" ] }, "enabled": { "default": true, "type": "boolean" }, "bail": { "default": true, "type": "boolean" }, "for": { "type": "object", "properties": { "roles": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } }, "users": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } }, "channels": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } } }, "additionalProperties": false }, "exceptions": { "type": "object", "properties": { "roles": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } }, "users": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } }, "channels": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } } }, "additionalProperties": false }, "is_bypasser": { "default": false, "type": "boolean" }, "bypasses": { "default": null, "anyOf": [ { "type": "array", "items": { "type": "string" } }, { "type": "null" } ] }, "type": { "type": "string", "const": "image_filter" }, "tokens": { "default": [], "type": "array", "items": { "type": "string" } }, "words": { "default": [], "type": "array", "items": { "type": "string" } }, "inherit_from_word_filter": { "default": false, "type": "boolean" }, "scan_embeds": { "default": false, "type": "boolean" } }, "required": [ "name", "actions", "mode", "enabled", "bail", "is_bypasser", "bypasses", "type", "tokens", "words", "inherit_from_word_filter", "scan_embeds" ], "additionalProperties": false }, { "type": "object", "properties": { "name": { "default": null, "anyOf": [ { "type": "string" }, { "type": "null" } ] }, "actions": { "default": [], "type": "array", "items": { "anyOf": [ { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "ban" }, "delete_timeframe": { "type": "integer", "minimum": 0, "maximum": 604800000 }, "duration": { "type": "integer", "minimum": 0, "maximum": 9007199254740991 } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "kick" } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "mute" }, "duration": { "type": "integer", "minimum": 0, "maximum": 9007199254740991 } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "role" }, "mode": { "type": "string", "enum": [ "give", "take" ] }, "roles": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } }, "duration": { "type": "integer", "minimum": 0, "maximum": 9007199254740991 } }, "required": [ "type", "mode", "roles" ], "additionalProperties": false }, { "type": "object", "properties": { "type": { "type": "string", "const": "none" } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "warn" } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "notify": { "default": true, "type": "boolean", "const": true }, "type": { "type": "string", "const": "verbal_warn" }, "reason": { "type": "string" } }, "required": [ "notify", "type" ], "additionalProperties": false }, { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "clear" }, "count": { "default": 20, "type": "integer", "minimum": 1, "maximum": 9007199254740991 } }, "required": [ "type", "count" ], "additionalProperties": false }, { "type": "object", "properties": { "type": { "type": "string", "const": "delete_message" } }, "required": [ "type" ], "additionalProperties": false } ] } }, "mode": { "default": "normal", "type": "string", "enum": [ "normal", "invert" ] }, "enabled": { "default": true, "type": "boolean" }, "bail": { "default": true, "type": "boolean" }, "for": { "type": "object", "properties": { "roles": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } }, "users": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } }, "channels": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } } }, "additionalProperties": false }, "exceptions": { "type": "object", "properties": { "roles": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } }, "users": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } }, "channels": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } } }, "additionalProperties": false }, "is_bypasser": { "default": false, "type": "boolean" }, "bypasses": { "default": null, "anyOf": [ { "type": "array", "items": { "type": "string" } }, { "type": "null" } ] }, "type": { "type": "string", "const": "embed_filter" }, "tokens": { "default": [], "type": "array", "items": { "type": "string" } }, "words": { "default": [], "type": "array", "items": { "type": "string" } }, "inherit_from_word_filter": { "default": false, "type": "boolean" } }, "required": [ "name", "actions", "mode", "enabled", "bail", "is_bypasser", "bypasses", "type", "tokens", "words", "inherit_from_word_filter" ], "additionalProperties": false }, { "description": "Experimental. Use at your own risk.", "type": "object", "properties": { "name": { "default": null, "anyOf": [ { "type": "string" }, { "type": "null" } ] }, "actions": { "default": [], "type": "array", "items": { "anyOf": [ { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "ban" }, "delete_timeframe": { "type": "integer", "minimum": 0, "maximum": 604800000 }, "duration": { "type": "integer", "minimum": 0, "maximum": 9007199254740991 } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "kick" } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "mute" }, "duration": { "type": "integer", "minimum": 0, "maximum": 9007199254740991 } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "role" }, "mode": { "type": "string", "enum": [ "give", "take" ] }, "roles": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } }, "duration": { "type": "integer", "minimum": 0, "maximum": 9007199254740991 } }, "required": [ "type", "mode", "roles" ], "additionalProperties": false }, { "type": "object", "properties": { "type": { "type": "string", "const": "none" } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "warn" } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "notify": { "default": true, "type": "boolean", "const": true }, "type": { "type": "string", "const": "verbal_warn" }, "reason": { "type": "string" } }, "required": [ "notify", "type" ], "additionalProperties": false }, { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "clear" }, "count": { "default": 20, "type": "integer", "minimum": 1, "maximum": 9007199254740991 } }, "required": [ "type", "count" ], "additionalProperties": false }, { "type": "object", "properties": { "type": { "type": "string", "const": "delete_message" } }, "required": [ "type" ], "additionalProperties": false } ] } }, "mode": { "default": "normal", "type": "string", "enum": [ "normal", "invert" ] }, "enabled": { "default": true, "type": "boolean" }, "bail": { "default": true, "type": "boolean" }, "for": { "type": "object", "properties": { "roles": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } }, "users": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } }, "channels": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } } }, "additionalProperties": false }, "exceptions": { "type": "object", "properties": { "roles": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } }, "users": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } }, "channels": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } } }, "additionalProperties": false }, "is_bypasser": { "default": false, "type": "boolean" }, "bypasses": { "default": null, "anyOf": [ { "type": "array", "items": { "type": "string" } }, { "type": "null" } ] }, "type": { "type": "string", "const": "EXPERIMENTAL_url_crawl" }, "excluded_domains_regex": { "default": [], "type": "array", "items": { "type": "string" } }, "excluded_links": { "default": [], "type": "array", "items": { "type": "string", "format": "uri" } }, "excluded_link_regex": { "default": [], "type": "array", "items": { "type": "string" } }, "tokens": { "default": [], "type": "array", "items": { "type": "string" } }, "words": { "default": [], "type": "array", "items": { "type": "string" } } }, "required": [ "name", "actions", "mode", "enabled", "bail", "is_bypasser", "bypasses", "type", "excluded_domains_regex", "excluded_links", "excluded_link_regex", "tokens", "words" ], "additionalProperties": false }, { "description": "Experimental. Use at your own risk.", "type": "object", "properties": { "name": { "default": null, "anyOf": [ { "type": "string" }, { "type": "null" } ] }, "actions": { "default": [], "type": "array", "items": { "anyOf": [ { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "ban" }, "delete_timeframe": { "type": "integer", "minimum": 0, "maximum": 604800000 }, "duration": { "type": "integer", "minimum": 0, "maximum": 9007199254740991 } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "kick" } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "mute" }, "duration": { "type": "integer", "minimum": 0, "maximum": 9007199254740991 } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "role" }, "mode": { "type": "string", "enum": [ "give", "take" ] }, "roles": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } }, "duration": { "type": "integer", "minimum": 0, "maximum": 9007199254740991 } }, "required": [ "type", "mode", "roles" ], "additionalProperties": false }, { "type": "object", "properties": { "type": { "type": "string", "const": "none" } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "warn" } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "notify": { "default": true, "type": "boolean", "const": true }, "type": { "type": "string", "const": "verbal_warn" }, "reason": { "type": "string" } }, "required": [ "notify", "type" ], "additionalProperties": false }, { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "clear" }, "count": { "default": 20, "type": "integer", "minimum": 1, "maximum": 9007199254740991 } }, "required": [ "type", "count" ], "additionalProperties": false }, { "type": "object", "properties": { "type": { "type": "string", "const": "delete_message" } }, "required": [ "type" ], "additionalProperties": false } ] } }, "mode": { "default": "normal", "type": "string", "enum": [ "normal", "invert" ] }, "enabled": { "default": true, "type": "boolean" }, "bail": { "default": true, "type": "boolean" }, "for": { "type": "object", "properties": { "roles": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } }, "users": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } }, "channels": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } } }, "additionalProperties": false }, "exceptions": { "type": "object", "properties": { "roles": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } }, "users": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } }, "channels": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } } }, "additionalProperties": false }, "is_bypasser": { "default": false, "type": "boolean" }, "bypasses": { "default": null, "anyOf": [ { "type": "array", "items": { "type": "string" } }, { "type": "null" } ] }, "type": { "type": "string", "const": "EXPERIMENTAL_nsfw_filter" }, "score_thresholds": { "type": "object", "properties": { "hentai": { "default": 0.35, "type": "number", "minimum": 0, "maximum": 1 }, "porn": { "default": 0.35, "type": "number", "minimum": 0, "maximum": 1 }, "sexy": { "default": 0.8, "type": "number", "minimum": 0, "maximum": 1 } }, "required": [ "hentai", "porn", "sexy" ], "additionalProperties": false } }, "required": [ "name", "actions", "mode", "enabled", "bail", "is_bypasser", "bypasses", "type", "score_thresholds" ], "additionalProperties": false }, { "type": "object", "properties": { "name": { "default": null, "anyOf": [ { "type": "string" }, { "type": "null" } ] }, "actions": { "default": [], "type": "array", "items": { "anyOf": [ { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "ban" }, "delete_timeframe": { "type": "integer", "minimum": 0, "maximum": 604800000 }, "duration": { "type": "integer", "minimum": 0, "maximum": 9007199254740991 } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "kick" } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "mute" }, "duration": { "type": "integer", "minimum": 0, "maximum": 9007199254740991 } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "role" }, "mode": { "type": "string", "enum": [ "give", "take" ] }, "roles": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } }, "duration": { "type": "integer", "minimum": 0, "maximum": 9007199254740991 } }, "required": [ "type", "mode", "roles" ], "additionalProperties": false }, { "type": "object", "properties": { "type": { "type": "string", "const": "none" } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "warn" } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "notify": { "default": true, "type": "boolean", "const": true }, "type": { "type": "string", "const": "verbal_warn" }, "reason": { "type": "string" } }, "required": [ "notify", "type" ], "additionalProperties": false }, { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "clear" }, "count": { "default": 20, "type": "integer", "minimum": 1, "maximum": 9007199254740991 } }, "required": [ "type", "count" ], "additionalProperties": false }, { "type": "object", "properties": { "type": { "type": "string", "const": "delete_message" } }, "required": [ "type" ], "additionalProperties": false } ] } }, "mode": { "default": "normal", "type": "string", "enum": [ "normal", "invert" ] }, "enabled": { "default": true, "type": "boolean" }, "bail": { "default": true, "type": "boolean" }, "for": { "type": "object", "properties": { "roles": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } }, "users": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } }, "channels": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } } }, "additionalProperties": false }, "exceptions": { "type": "object", "properties": { "roles": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } }, "users": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } }, "channels": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } } }, "additionalProperties": false }, "is_bypasser": { "default": false, "type": "boolean" }, "bypasses": { "default": null, "anyOf": [ { "type": "array", "items": { "type": "string" } }, { "type": "null" } ] }, "type": { "type": "string", "const": "word_filter" }, "tokens": { "default": [], "type": "array", "items": { "type": "string" } }, "words": { "default": [], "type": "array", "items": { "type": "string" } }, "normalize": { "default": true, "type": "boolean" } }, "required": [ "name", "actions", "mode", "enabled", "bail", "is_bypasser", "bypasses", "type", "tokens", "words", "normalize" ], "additionalProperties": false }, { "type": "object", "properties": { "name": { "default": null, "anyOf": [ { "type": "string" }, { "type": "null" } ] }, "actions": { "default": [], "type": "array", "items": { "anyOf": [ { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "ban" }, "delete_timeframe": { "type": "integer", "minimum": 0, "maximum": 604800000 }, "duration": { "type": "integer", "minimum": 0, "maximum": 9007199254740991 } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "kick" } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "mute" }, "duration": { "type": "integer", "minimum": 0, "maximum": 9007199254740991 } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "role" }, "mode": { "type": "string", "enum": [ "give", "take" ] }, "roles": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } }, "duration": { "type": "integer", "minimum": 0, "maximum": 9007199254740991 } }, "required": [ "type", "mode", "roles" ], "additionalProperties": false }, { "type": "object", "properties": { "type": { "type": "string", "const": "none" } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "warn" } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "notify": { "default": true, "type": "boolean", "const": true }, "type": { "type": "string", "const": "verbal_warn" }, "reason": { "type": "string" } }, "required": [ "notify", "type" ], "additionalProperties": false }, { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "clear" }, "count": { "default": 20, "type": "integer", "minimum": 1, "maximum": 9007199254740991 } }, "required": [ "type", "count" ], "additionalProperties": false }, { "type": "object", "properties": { "type": { "type": "string", "const": "delete_message" } }, "required": [ "type" ], "additionalProperties": false } ] } }, "mode": { "default": "normal", "type": "string", "enum": [ "normal", "invert" ] }, "enabled": { "default": true, "type": "boolean" }, "bail": { "default": true, "type": "boolean" }, "for": { "type": "object", "properties": { "roles": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } }, "users": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } }, "channels": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } } }, "additionalProperties": false }, "exceptions": { "type": "object", "properties": { "roles": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } }, "users": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } }, "channels": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } } }, "additionalProperties": false }, "is_bypasser": { "default": false, "type": "boolean" }, "bypasses": { "default": null, "anyOf": [ { "type": "array", "items": { "type": "string" } }, { "type": "null" } ] }, "type": { "type": "string", "const": "profile_filter" }, "tokens": { "default": [], "type": "array", "items": { "type": "string" } }, "words": { "default": [], "type": "array", "items": { "type": "string" } }, "regex_patterns": { "default": [], "type": "array", "items": { "type": "string" } }, "normalize": { "default": true, "type": "boolean" } }, "required": [ "name", "actions", "mode", "enabled", "bail", "is_bypasser", "bypasses", "type", "tokens", "words", "regex_patterns", "normalize" ], "additionalProperties": false }, { "type": "object", "properties": { "name": { "default": null, "anyOf": [ { "type": "string" }, { "type": "null" } ] }, "actions": { "default": [], "type": "array", "items": { "anyOf": [ { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "ban" }, "delete_timeframe": { "type": "integer", "minimum": 0, "maximum": 604800000 }, "duration": { "type": "integer", "minimum": 0, "maximum": 9007199254740991 } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "kick" } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "mute" }, "duration": { "type": "integer", "minimum": 0, "maximum": 9007199254740991 } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "role" }, "mode": { "type": "string", "enum": [ "give", "take" ] }, "roles": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } }, "duration": { "type": "integer", "minimum": 0, "maximum": 9007199254740991 } }, "required": [ "type", "mode", "roles" ], "additionalProperties": false }, { "type": "object", "properties": { "type": { "type": "string", "const": "none" } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "warn" } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "notify": { "default": true, "type": "boolean", "const": true }, "type": { "type": "string", "const": "verbal_warn" }, "reason": { "type": "string" } }, "required": [ "notify", "type" ], "additionalProperties": false }, { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "clear" }, "count": { "default": 20, "type": "integer", "minimum": 1, "maximum": 9007199254740991 } }, "required": [ "type", "count" ], "additionalProperties": false }, { "type": "object", "properties": { "type": { "type": "string", "const": "delete_message" } }, "required": [ "type" ], "additionalProperties": false } ] } }, "mode": { "default": "normal", "type": "string", "enum": [ "normal", "invert" ] }, "enabled": { "default": true, "type": "boolean" }, "bail": { "default": true, "type": "boolean" }, "for": { "type": "object", "properties": { "roles": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } }, "users": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } }, "channels": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } } }, "additionalProperties": false }, "exceptions": { "type": "object", "properties": { "roles": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } }, "users": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } }, "channels": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } } }, "additionalProperties": false }, "is_bypasser": { "default": false, "type": "boolean" }, "bypasses": { "default": null, "anyOf": [ { "type": "array", "items": { "type": "string" } }, { "type": "null" } ] }, "type": { "type": "string", "const": "file_filter" }, "hashes": { "default": {}, "type": "object", "propertyNames": { "type": "string" }, "additionalProperties": { "anyOf": [ { "type": "string" }, { "type": "null" } ] } }, "check_mime_types": { "default": false, "type": "boolean" } }, "required": [ "name", "actions", "mode", "enabled", "bail", "is_bypasser", "bypasses", "type", "hashes", "check_mime_types" ], "additionalProperties": false }, { "type": "object", "properties": { "name": { "default": null, "anyOf": [ { "type": "string" }, { "type": "null" } ] }, "actions": { "default": [], "type": "array", "items": { "anyOf": [ { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "ban" }, "delete_timeframe": { "type": "integer", "minimum": 0, "maximum": 604800000 }, "duration": { "type": "integer", "minimum": 0, "maximum": 9007199254740991 } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "kick" } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "mute" }, "duration": { "type": "integer", "minimum": 0, "maximum": 9007199254740991 } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "role" }, "mode": { "type": "string", "enum": [ "give", "take" ] }, "roles": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } }, "duration": { "type": "integer", "minimum": 0, "maximum": 9007199254740991 } }, "required": [ "type", "mode", "roles" ], "additionalProperties": false }, { "type": "object", "properties": { "type": { "type": "string", "const": "none" } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "warn" } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "notify": { "default": true, "type": "boolean", "const": true }, "type": { "type": "string", "const": "verbal_warn" }, "reason": { "type": "string" } }, "required": [ "notify", "type" ], "additionalProperties": false }, { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "clear" }, "count": { "default": 20, "type": "integer", "minimum": 1, "maximum": 9007199254740991 } }, "required": [ "type", "count" ], "additionalProperties": false }, { "type": "object", "properties": { "type": { "type": "string", "const": "delete_message" } }, "required": [ "type" ], "additionalProperties": false } ] } }, "mode": { "default": "normal", "type": "string", "enum": [ "normal", "invert" ] }, "enabled": { "default": true, "type": "boolean" }, "bail": { "default": true, "type": "boolean" }, "for": { "type": "object", "properties": { "roles": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } }, "users": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } }, "channels": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } } }, "additionalProperties": false }, "exceptions": { "type": "object", "properties": { "roles": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } }, "users": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } }, "channels": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } } }, "additionalProperties": false }, "is_bypasser": { "default": false, "type": "boolean" }, "bypasses": { "default": null, "anyOf": [ { "type": "array", "items": { "type": "string" } }, { "type": "null" } ] }, "type": { "type": "string", "const": "ai_scan" }, "toxicity_threshold": { "default": 0.5, "type": "number", "minimum": 0, "maximum": 1 }, "identity_attack_threshold": { "default": 0.5, "type": "number", "minimum": 0, "maximum": 1 }, "insult_threshold": { "default": 0.5, "type": "number", "minimum": 0, "maximum": 1 }, "profanity_threshold": { "default": 0.5, "type": "number", "minimum": 0, "maximum": 1 }, "sexual_explicit_threshold": { "default": 0.5, "type": "number", "minimum": 0, "maximum": 1 }, "threat_threshold": { "default": 0.5, "type": "number", "minimum": 0, "maximum": 1 }, "severe_toxicity_threshold": { "default": 0.5, "type": "number", "minimum": 0, "maximum": 1 }, "flirtation_threshold": { "default": 0.5, "type": "number", "minimum": 0, "maximum": 1 } }, "required": [ "name", "actions", "mode", "enabled", "bail", "is_bypasser", "bypasses", "type", "toxicity_threshold", "identity_attack_threshold", "insult_threshold", "profanity_threshold", "sexual_explicit_threshold", "threat_threshold", "severe_toxicity_threshold", "flirtation_threshold" ], "additionalProperties": false } ] } }, "global_disabled_channels": { "default": [], "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } } }, "required": [ "enabled", "rules", "global_disabled_channels" ], "additionalProperties": false }, "logging": { "type": "object", "properties": { "enabled": { "default": false, "type": "boolean" }, "bulk_delete_send_json": { "default": true, "type": "boolean" }, "global_ignored_channels": { "default": [], "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } }, "default_enabled": { "description": "Whether to consider all events as enabled if no override is found", "default": true, "type": "boolean" }, "primary_channel": { "type": "string", "pattern": "^\\d{16,22}$" }, "hooks": { "default": {}, "type": "object", "propertyNames": { "type": "string", "pattern": "^\\d{16,22}$" }, "additionalProperties": { "type": "string", "pattern": "^\\d{16,22}$" } }, "overrides": { "default": [], "type": "array", "items": { "anyOf": [ { "type": "object", "properties": { "events": { "minItems": 1, "type": "array", "items": { "type": "string", "enum": [ "message_delete", "message_update", "message_delete_bulk", "message_reaction_clear", "member_ban_add", "member_mass_ban", "member_mass_unban", "member_mass_kick", "member_ban_remove", "guild_member_add", "guild_member_remove", "guild_member_kick", "member_mute_add", "member_mute_remove", "member_warning_add", "member_mod_message_add", "user_note_add", "member_role_modification", "system_automod_rule_moderation", "system_user_message_save", "raid_alert", "member_nickname_modification", "guild_verification_attempt", "guild_verification_success", "guild_verification_not_enough_info" ] } }, "enabled": { "type": "boolean", "const": true }, "channel": { "type": "string", "pattern": "^\\d{16,22}$" } }, "required": [ "events", "enabled", "channel" ], "additionalProperties": false }, { "type": "object", "properties": { "events": { "minItems": 1, "type": "array", "items": { "type": "string", "enum": [ "message_delete", "message_update", "message_delete_bulk", "message_reaction_clear", "member_ban_add", "member_mass_ban", "member_mass_unban", "member_mass_kick", "member_ban_remove", "guild_member_add", "guild_member_remove", "guild_member_kick", "member_mute_add", "member_mute_remove", "member_warning_add", "member_mod_message_add", "user_note_add", "member_role_modification", "system_automod_rule_moderation", "system_user_message_save", "raid_alert", "member_nickname_modification", "guild_verification_attempt", "guild_verification_success", "guild_verification_not_enough_info" ] } }, "enabled": { "type": "boolean", "const": false } }, "required": [ "events", "enabled" ], "additionalProperties": false } ] } }, "exclusions": { "default": [], "type": "array", "items": { "type": "object", "properties": { "type": { "type": "string", "enum": [ "user", "channel", "category_channel" ] }, "mode": { "default": "exclude", "type": "string", "enum": [ "exclude", "include" ] }, "snowflakes": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } }, "events": { "type": "array", "items": { "type": "string", "enum": [ "message_delete", "message_update", "message_delete_bulk", "message_reaction_clear", "member_ban_add", "member_mass_ban", "member_mass_unban", "member_mass_kick", "member_ban_remove", "guild_member_add", "guild_member_remove", "guild_member_kick", "member_mute_add", "member_mute_remove", "member_warning_add", "member_mod_message_add", "user_note_add", "member_role_modification", "system_automod_rule_moderation", "system_user_message_save", "raid_alert", "member_nickname_modification", "guild_verification_attempt", "guild_verification_success", "guild_verification_not_enough_info" ] } } }, "required": [ "type", "mode", "snowflakes" ], "additionalProperties": false } }, "unsubscribed_events": { "default": [], "type": "array", "items": { "type": "string", "enum": [ "message_delete", "message_update", "message_delete_bulk", "message_reaction_clear", "member_ban_add", "member_mass_ban", "member_mass_unban", "member_mass_kick", "member_ban_remove", "guild_member_add", "guild_member_remove", "guild_member_kick", "member_mute_add", "member_mute_remove", "member_warning_add", "member_mod_message_add", "user_note_add", "member_role_modification", "system_automod_rule_moderation", "system_user_message_save", "raid_alert", "member_nickname_modification", "guild_verification_attempt", "guild_verification_success", "guild_verification_not_enough_info" ] } } }, "required": [ "enabled", "bulk_delete_send_json", "global_ignored_channels", "default_enabled", "hooks", "overrides", "exclusions", "unsubscribed_events" ], "additionalProperties": false }, "anti_member_join": { "type": "object", "properties": { "enabled": { "default": false, "type": "boolean" }, "behavior": { "default": "kick", "type": "string", "enum": [ "kick", "ban" ] }, "custom_reason": { "type": "string" }, "ban_duration": { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, "ignore_bots": { "default": false, "type": "boolean" } }, "required": [ "enabled", "behavior", "ignore_bots" ], "additionalProperties": false }, "reaction_roles": { "type": "object", "properties": { "enabled": { "default": false, "type": "boolean" }, "ignore_bots": { "default": true, "type": "boolean" }, "ratelimiting": { "type": "object", "properties": { "enabled": { "default": true, "type": "boolean" }, "timeframe": { "default": 7000, "type": "integer", "minimum": 0, "maximum": 9007199254740991 }, "max_attempts": { "default": 5, "type": "integer", "minimum": 0, "maximum": 9007199254740991 }, "block_duration": { "default": 10000, "type": "integer", "minimum": 0, "maximum": 9007199254740991 } }, "required": [ "enabled", "timeframe", "max_attempts", "block_duration" ], "additionalProperties": false } }, "required": [ "enabled", "ignore_bots" ], "additionalProperties": false }, "survey_system": { "type": "object", "properties": { "enabled": { "default": false, "type": "boolean" }, "default_log_channel": { "type": "string", "pattern": "^\\d{16,22}$" }, "surveys": { "default": {}, "description": "\n A record of surveys. The key is the interaction custom ID of the survey, and the value is the survey itself.\n ", "type": "object", "propertyNames": { "type": "string", "pattern": "^[a-z0-9_-]+$" }, "additionalProperties": { "type": "object", "properties": { "name": { "type": "string" }, "questions": { "minItems": 1, "type": "array", "items": { "type": "object", "properties": { "type": { "type": "string", "enum": [ "paragraph", "short" ] }, "question": { "type": "string" }, "required": { "default": true, "type": "boolean" }, "maxLength": { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, "minLength": { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, "placeholder": { "type": "string" }, "default_value": { "type": "string" } }, "required": [ "type", "question", "required" ], "additionalProperties": false } }, "required_channels": { "default": [], "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } }, "required_roles": { "default": [], "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } }, "required_permissions": { "default": [], "type": "array", "items": { "type": "string" } }, "required_users": { "default": [], "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } }, "description": { "type": "string" }, "end_message": { "type": "string" }, "log_channel": { "type": "string", "pattern": "^\\d{16,22}$" } }, "required": [ "name", "questions", "required_channels", "required_roles", "required_permissions", "required_users" ], "additionalProperties": false } } }, "required": [ "enabled", "surveys" ], "additionalProperties": false }, "raid_protection": { "type": "object", "properties": { "enabled": { "default": false, "type": "boolean" }, "threshold": { "default": 10, "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, "timeframe": { "default": 60000, "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, "action": { "default": "auto", "type": "string", "enum": [ "auto", "lock", "antijoin", "lock_and_antijoin", "none" ] }, "member_actions": { "default": [], "type": "array", "items": { "anyOf": [ { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "ban" }, "delete_timeframe": { "type": "integer", "minimum": 0, "maximum": 604800000 }, "duration": { "type": "integer", "minimum": 0, "maximum": 9007199254740991 } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "kick" } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "mute" }, "duration": { "type": "integer", "minimum": 0, "maximum": 9007199254740991 } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "role" }, "mode": { "type": "string", "enum": [ "give", "take" ] }, "roles": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } }, "duration": { "type": "integer", "minimum": 0, "maximum": 9007199254740991 } }, "required": [ "type", "mode", "roles" ], "additionalProperties": false }, { "type": "object", "properties": { "type": { "type": "string", "const": "none" } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "warn" } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "notify": { "default": true, "type": "boolean", "const": true }, "type": { "type": "string", "const": "verbal_warn" }, "reason": { "type": "string" } }, "required": [ "notify", "type" ], "additionalProperties": false }, { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "clear" }, "count": { "default": 20, "type": "integer", "minimum": 1, "maximum": 9007199254740991 } }, "required": [ "type", "count" ], "additionalProperties": false }, { "type": "object", "properties": { "type": { "type": "string", "const": "delete_message" } }, "required": [ "type" ], "additionalProperties": false } ] } }, "send_log": { "default": true, "type": "boolean" }, "channels": { "default": [], "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } }, "channel_mode": { "default": "exclude", "type": "string", "enum": [ "exclude", "include" ] } }, "required": [ "enabled", "threshold", "timeframe", "action", "member_actions", "send_log", "channels", "channel_mode" ], "additionalProperties": false }, "member_verification": { "type": "object", "properties": { "enabled": { "default": false, "type": "boolean" }, "conditions": { "type": "object", "properties": { "age_less_than": { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, "no_avatar": { "type": "boolean" }, "always": { "default": false, "type": "boolean" } }, "required": [ "always" ], "additionalProperties": false }, "unverified_roles": { "default": [], "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } }, "verified_roles": { "default": [], "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } }, "expired_actions": { "default": [], "type": "array", "items": { "anyOf": [ { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "ban" }, "delete_timeframe": { "type": "integer", "minimum": 0, "maximum": 604800000 }, "duration": { "type": "integer", "minimum": 0, "maximum": 9007199254740991 } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "kick" } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "mute" }, "duration": { "type": "integer", "minimum": 0, "maximum": 9007199254740991 } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "role" }, "mode": { "type": "string", "enum": [ "give", "take" ] }, "roles": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } }, "duration": { "type": "integer", "minimum": 0, "maximum": 9007199254740991 } }, "required": [ "type", "mode", "roles" ], "additionalProperties": false }, { "type": "object", "properties": { "type": { "type": "string", "const": "none" } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "warn" } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "notify": { "default": true, "type": "boolean", "const": true }, "type": { "type": "string", "const": "verbal_warn" }, "reason": { "type": "string" } }, "required": [ "notify", "type" ], "additionalProperties": false }, { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "clear" }, "count": { "default": 20, "type": "integer", "minimum": 1, "maximum": 9007199254740991 } }, "required": [ "type", "count" ], "additionalProperties": false }, { "type": "object", "properties": { "type": { "type": "string", "const": "delete_message" } }, "required": [ "type" ], "additionalProperties": false } ] } }, "verification_message": { "type": "string" }, "success_message": { "type": "string" }, "max_duration": { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, "method": { "default": "dm_interaction", "type": "string", "enum": [ "channel_interaction", "dm_interaction", "channel_static_interaction" ] }, "channel": { "type": "string", "pattern": "^\\d{16,22}$" }, "message_id_internal": { "type": "string", "pattern": "^\\d{16,22}$" }, "alt_detection": { "type": "object", "properties": { "enabled": { "default": false, "type": "boolean" }, "actions": { "type": "object", "properties": { "moderationActions": { "default": [], "type": "array", "items": { "anyOf": [ { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "ban" }, "delete_timeframe": { "type": "integer", "minimum": 0, "maximum": 604800000 }, "duration": { "type": "integer", "minimum": 0, "maximum": 9007199254740991 } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "kick" } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "mute" }, "duration": { "type": "integer", "minimum": 0, "maximum": 9007199254740991 } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "role" }, "mode": { "type": "string", "enum": [ "give", "take" ] }, "roles": { "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } }, "duration": { "type": "integer", "minimum": 0, "maximum": 9007199254740991 } }, "required": [ "type", "mode", "roles" ], "additionalProperties": false }, { "type": "object", "properties": { "type": { "type": "string", "const": "none" } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "warn" } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "notify": { "default": true, "type": "boolean", "const": true }, "type": { "type": "string", "const": "verbal_warn" }, "reason": { "type": "string" } }, "required": [ "notify", "type" ], "additionalProperties": false }, { "type": "object", "properties": { "reason": { "type": "string" }, "notify": { "type": "boolean" }, "type": { "type": "string", "const": "clear" }, "count": { "default": 20, "type": "integer", "minimum": 1, "maximum": 9007199254740991 } }, "required": [ "type", "count" ], "additionalProperties": false }, { "type": "object", "properties": { "type": { "type": "string", "const": "delete_message" } }, "required": [ "type" ], "additionalProperties": false } ] } }, "failVerification": { "default": false, "type": "boolean" } }, "required": [ "moderationActions", "failVerification" ], "additionalProperties": false } }, "required": [ "enabled" ], "additionalProperties": false } }, "required": [ "enabled", "conditions", "unverified_roles", "verified_roles", "expired_actions", "method" ], "additionalProperties": false }, "quick_mute": { "type": "object", "properties": { "enabled": { "default": false, "type": "boolean" }, "mute_clear_emoji": { "type": "string" }, "mute_emoji": { "type": "string" }, "default_duration": { "default": 7200000, "type": "integer", "minimum": 0, "maximum": 9007199254740991 }, "reason": { "type": "string" } }, "required": [ "enabled" ], "additionalProperties": false }, "auto_role": { "type": "object", "properties": { "enabled": { "default": false, "type": "boolean" }, "roles": { "default": [], "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } }, "ignore_bots": { "default": true, "type": "boolean" } }, "required": [ "enabled", "roles", "ignore_bots" ], "additionalProperties": false }, "welcomer": { "type": "object", "properties": { "enabled": { "default": false, "type": "boolean" }, "custom_message": { "type": "string" }, "randomize": { "default": false, "type": "boolean" }, "mention": { "default": false, "type": "boolean" }, "say_hi_button": { "type": "object", "properties": { "enabled": { "default": false, "type": "boolean" }, "label": { "default": "Say Hi", "type": "string" }, "emoji": { "default": "👋", "type": "string" }, "reply": { "default": ":acc: said hi to you!", "type": "string" }, "expire_after": { "anyOf": [ { "default": 300000, "type": "integer", "minimum": 5000, "maximum": 600000 }, { "type": "null" } ] } }, "required": [ "enabled", "label", "emoji", "reply", "expire_after" ], "additionalProperties": false }, "delete_after": { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, "channel": { "type": "string", "pattern": "^\\d{16,22}$" }, "force_embeds": { "default": true, "type": "boolean" }, "forced_embed_color": { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 } }, "required": [ "enabled", "randomize", "mention", "channel", "force_embeds" ], "additionalProperties": false }, "auto_triggers": { "type": "object", "properties": { "enabled": { "default": false, "type": "boolean" }, "triggers": { "default": [], "type": "array", "items": { "anyOf": [ { "type": "object", "properties": { "enabled_channels": { "anyOf": [ { "default": [], "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } }, { "type": "string", "const": "all" } ] }, "ignore_roles": { "default": [], "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } }, "ignore_users": { "default": [], "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } }, "type": { "type": "string", "const": "sticky_message" }, "message": { "type": "string" }, "buttons": { "default": [], "maxItems": 3, "type": "array", "items": { "type": "object", "properties": { "label": { "type": "string" }, "url": { "type": "string", "format": "uri" } }, "required": [ "label", "url" ], "additionalProperties": false } } }, "required": [ "enabled_channels", "ignore_roles", "ignore_users", "type", "message", "buttons" ], "additionalProperties": false }, { "type": "object", "properties": { "enabled_channels": { "anyOf": [ { "default": [], "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } }, { "type": "string", "const": "all" } ] }, "ignore_roles": { "default": [], "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } }, "ignore_users": { "default": [], "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } }, "type": { "type": "string", "const": "member_status_update" }, "must_contain": { "default": [], "type": "array", "items": { "type": "string" } }, "must_not_contain": { "default": [], "type": "array", "items": { "type": "string" } }, "action": { "type": "string", "enum": [ "assign_role", "take_away_role" ] }, "roles": { "default": [], "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } } }, "required": [ "enabled_channels", "ignore_roles", "ignore_users", "type", "must_contain", "must_not_contain", "action", "roles" ], "additionalProperties": false } ] } }, "global_disabled_channels": { "default": [], "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } } }, "required": [ "enabled", "triggers", "global_disabled_channels" ], "additionalProperties": false }, "message_reporting": { "type": "object", "properties": { "enabled": { "default": false, "type": "boolean" }, "logging_channel": { "type": "string", "pattern": "^\\d{16,22}$" }, "users": { "default": [], "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } }, "roles": { "default": [], "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } }, "permissions": { "default": [], "type": "array", "items": { "type": "string" } }, "permission_level": { "default": -1, "type": "integer", "minimum": -1, "maximum": 100 }, "action_required_permissions": { "type": "object", "properties": { "ban": { "default": [ "BanMembers" ], "type": "array", "items": { "type": "string" } }, "kick": { "default": [ "KickMembers" ], "type": "array", "items": { "type": "string" } }, "mute": { "default": [ "or", "ModerateMembers", "ManageMessages" ], "type": "array", "items": { "type": "string" } }, "warn": { "default": [ "or", "ModerateMembers", "ManageMessages" ], "type": "array", "items": { "type": "string" } }, "ignore": { "default": [ "or", "ModerateMembers", "ManageMessages", "BanMembers", "KickMembers" ], "type": "array", "items": { "type": "string" } } }, "required": [ "ban", "kick", "mute", "warn", "ignore" ], "additionalProperties": false } }, "required": [ "enabled", "users", "roles", "permissions", "action_required_permissions" ], "additionalProperties": false }, "bump_reminder": { "type": "object", "properties": { "enabled": { "type": "boolean" }, "disabled_channels": { "default": [], "type": "array", "items": { "type": "string", "pattern": "^\\d{16,22}$" } }, "remind_after": { "default": 7200000, "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, "reminder_content": { "type": "string", "minLength": 1 }, "on_bump_content": { "type": "string", "minLength": 1 } }, "required": [ "disabled_channels", "remind_after" ], "additionalProperties": false } }, "required": [ "prefix", "debug_mode", "commands", "permissions", "infractions" ], "additionalProperties": false } }