mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-06-07 16:05:01 +00:00
17699 lines
No EOL
671 KiB
JSON
17699 lines
No EOL
671 KiB
JSON
{
|
|
"type": "object",
|
|
"properties": {
|
|
"prefix": {
|
|
"type": "string"
|
|
},
|
|
"levels": {
|
|
"type": "object",
|
|
"propertyNames": {
|
|
"type": "string"
|
|
},
|
|
"additionalProperties": {
|
|
"type": "number"
|
|
}
|
|
},
|
|
"plugins": {
|
|
"type": "object",
|
|
"properties": {
|
|
"auto_delete": {
|
|
"type": "object",
|
|
"properties": {
|
|
"config": {
|
|
"type": "object",
|
|
"properties": {
|
|
"enabled": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"delay": {
|
|
"default": "5s",
|
|
"type": "string",
|
|
"maxLength": 32
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
"overrides": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"channel": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"category": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"level": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"user": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"role": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"thread": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"is_thread": {
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"thread_type": {
|
|
"anyOf": [
|
|
{
|
|
"enum": [
|
|
"public",
|
|
"private"
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"extra": {},
|
|
"zzz_dummy_property_do_not_use": {},
|
|
"all": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/$defs/__schema1"
|
|
}
|
|
},
|
|
"any": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/$defs/__schema1"
|
|
}
|
|
},
|
|
"not": {
|
|
"$ref": "#/$defs/__schema1"
|
|
},
|
|
"config": {
|
|
"type": "object",
|
|
"properties": {
|
|
"enabled": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"delay": {
|
|
"default": "5s",
|
|
"type": "string",
|
|
"maxLength": 32
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
}
|
|
},
|
|
"required": [
|
|
"config"
|
|
],
|
|
"additionalProperties": false
|
|
}
|
|
}
|
|
},
|
|
"required": []
|
|
},
|
|
"automod": {
|
|
"type": "object",
|
|
"properties": {
|
|
"config": {
|
|
"type": "object",
|
|
"properties": {
|
|
"rules": {
|
|
"default": {},
|
|
"type": "object",
|
|
"propertyNames": {
|
|
"type": "string",
|
|
"maxLength": 100
|
|
},
|
|
"additionalProperties": {
|
|
"type": "object",
|
|
"properties": {
|
|
"enabled": {
|
|
"default": true,
|
|
"type": "boolean"
|
|
},
|
|
"pretty_name": {
|
|
"type": "string"
|
|
},
|
|
"presets": {
|
|
"default": [],
|
|
"maxItems": 25,
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string",
|
|
"maxLength": 100
|
|
}
|
|
},
|
|
"affects_bots": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"affects_self": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"cooldown": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "string",
|
|
"maxLength": 32
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"allow_further_rules": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"triggers": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"any_message": {
|
|
"type": "object",
|
|
"properties": {},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
"match_words": {
|
|
"type": "object",
|
|
"properties": {
|
|
"words": {
|
|
"maxItems": 1024,
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string",
|
|
"maxLength": 2000
|
|
}
|
|
},
|
|
"case_sensitive": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"only_full_words": {
|
|
"default": true,
|
|
"type": "boolean"
|
|
},
|
|
"normalize": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"loose_matching": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"loose_matching_threshold": {
|
|
"default": 4,
|
|
"type": "integer",
|
|
"minimum": -9007199254740991,
|
|
"maximum": 9007199254740991
|
|
},
|
|
"strip_markdown": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"match_messages": {
|
|
"default": true,
|
|
"type": "boolean"
|
|
},
|
|
"match_embeds": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"match_visible_names": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"match_usernames": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"match_nicknames": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"match_custom_status": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [
|
|
"words"
|
|
],
|
|
"additionalProperties": false
|
|
},
|
|
"match_regex": {
|
|
"type": "object",
|
|
"properties": {
|
|
"patterns": {
|
|
"maxItems": 512,
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string",
|
|
"maxLength": 2000
|
|
}
|
|
},
|
|
"case_sensitive": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"normalize": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"strip_markdown": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"match_messages": {
|
|
"default": true,
|
|
"type": "boolean"
|
|
},
|
|
"match_embeds": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"match_visible_names": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"match_usernames": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"match_nicknames": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"match_custom_status": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [
|
|
"patterns"
|
|
],
|
|
"additionalProperties": false
|
|
},
|
|
"match_invites": {
|
|
"type": "object",
|
|
"properties": {
|
|
"include_guilds": {
|
|
"maxItems": 255,
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"exclude_guilds": {
|
|
"maxItems": 255,
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"include_invite_codes": {
|
|
"maxItems": 255,
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string",
|
|
"maxLength": 32
|
|
}
|
|
},
|
|
"exclude_invite_codes": {
|
|
"maxItems": 255,
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string",
|
|
"maxLength": 32
|
|
}
|
|
},
|
|
"allow_group_dm_invites": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"match_messages": {
|
|
"default": true,
|
|
"type": "boolean"
|
|
},
|
|
"match_embeds": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"match_visible_names": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"match_usernames": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"match_nicknames": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"match_custom_status": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
"match_links": {
|
|
"type": "object",
|
|
"properties": {
|
|
"include_domains": {
|
|
"maxItems": 700,
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string",
|
|
"maxLength": 255
|
|
}
|
|
},
|
|
"exclude_domains": {
|
|
"maxItems": 700,
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string",
|
|
"maxLength": 255
|
|
}
|
|
},
|
|
"include_subdomains": {
|
|
"default": true,
|
|
"type": "boolean"
|
|
},
|
|
"include_words": {
|
|
"maxItems": 700,
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string",
|
|
"maxLength": 2000
|
|
}
|
|
},
|
|
"exclude_words": {
|
|
"maxItems": 700,
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string",
|
|
"maxLength": 2000
|
|
}
|
|
},
|
|
"include_regex": {
|
|
"maxItems": 512,
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string",
|
|
"maxLength": 2000
|
|
}
|
|
},
|
|
"exclude_regex": {
|
|
"maxItems": 512,
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string",
|
|
"maxLength": 2000
|
|
}
|
|
},
|
|
"phisherman": {
|
|
"type": "object",
|
|
"properties": {
|
|
"include_suspected": {
|
|
"type": "boolean"
|
|
},
|
|
"include_verified": {
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
"only_real_links": {
|
|
"default": true,
|
|
"type": "boolean"
|
|
},
|
|
"match_messages": {
|
|
"default": true,
|
|
"type": "boolean"
|
|
},
|
|
"match_embeds": {
|
|
"default": true,
|
|
"type": "boolean"
|
|
},
|
|
"match_visible_names": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"match_usernames": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"match_nicknames": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"match_custom_status": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
"match_attachment_type": {
|
|
"type": "object",
|
|
"properties": {
|
|
"whitelist_enabled": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"filetype_whitelist": {
|
|
"default": [],
|
|
"maxItems": 255,
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string",
|
|
"maxLength": 32
|
|
}
|
|
},
|
|
"blacklist_enabled": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"filetype_blacklist": {
|
|
"default": [],
|
|
"maxItems": 255,
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string",
|
|
"maxLength": 32
|
|
}
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
"match_mime_type": {
|
|
"type": "object",
|
|
"properties": {
|
|
"whitelist_enabled": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"mime_type_whitelist": {
|
|
"default": [],
|
|
"maxItems": 255,
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string",
|
|
"maxLength": 32
|
|
}
|
|
},
|
|
"blacklist_enabled": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"mime_type_blacklist": {
|
|
"default": [],
|
|
"maxItems": 255,
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string",
|
|
"maxLength": 32
|
|
}
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
"member_join": {
|
|
"type": "object",
|
|
"properties": {
|
|
"only_new": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"new_threshold": {
|
|
"default": "1h",
|
|
"type": "string",
|
|
"maxLength": 32
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
"member_leave": {
|
|
"type": "object",
|
|
"properties": {},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
"role_added": {
|
|
"default": [],
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"maxItems": 255,
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"role_removed": {
|
|
"default": [],
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"maxItems": 255,
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"message_spam": {
|
|
"type": "object",
|
|
"properties": {
|
|
"amount": {
|
|
"type": "integer",
|
|
"minimum": -9007199254740991,
|
|
"maximum": 9007199254740991
|
|
},
|
|
"within": {
|
|
"type": "string",
|
|
"maxLength": 32
|
|
},
|
|
"per_channel": {
|
|
"default": false,
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"amount",
|
|
"within"
|
|
],
|
|
"additionalProperties": false
|
|
},
|
|
"mention_spam": {
|
|
"type": "object",
|
|
"properties": {
|
|
"amount": {
|
|
"type": "integer",
|
|
"minimum": -9007199254740991,
|
|
"maximum": 9007199254740991
|
|
},
|
|
"within": {
|
|
"type": "string",
|
|
"maxLength": 32
|
|
},
|
|
"per_channel": {
|
|
"default": false,
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"amount",
|
|
"within"
|
|
],
|
|
"additionalProperties": false
|
|
},
|
|
"link_spam": {
|
|
"type": "object",
|
|
"properties": {
|
|
"amount": {
|
|
"type": "integer",
|
|
"minimum": -9007199254740991,
|
|
"maximum": 9007199254740991
|
|
},
|
|
"within": {
|
|
"type": "string",
|
|
"maxLength": 32
|
|
},
|
|
"per_channel": {
|
|
"default": false,
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"amount",
|
|
"within"
|
|
],
|
|
"additionalProperties": false
|
|
},
|
|
"attachment_spam": {
|
|
"type": "object",
|
|
"properties": {
|
|
"amount": {
|
|
"type": "integer",
|
|
"minimum": -9007199254740991,
|
|
"maximum": 9007199254740991
|
|
},
|
|
"within": {
|
|
"type": "string",
|
|
"maxLength": 32
|
|
},
|
|
"per_channel": {
|
|
"default": false,
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"amount",
|
|
"within"
|
|
],
|
|
"additionalProperties": false
|
|
},
|
|
"emoji_spam": {
|
|
"type": "object",
|
|
"properties": {
|
|
"amount": {
|
|
"type": "integer",
|
|
"minimum": -9007199254740991,
|
|
"maximum": 9007199254740991
|
|
},
|
|
"within": {
|
|
"type": "string",
|
|
"maxLength": 32
|
|
},
|
|
"per_channel": {
|
|
"default": false,
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"amount",
|
|
"within"
|
|
],
|
|
"additionalProperties": false
|
|
},
|
|
"line_spam": {
|
|
"type": "object",
|
|
"properties": {
|
|
"amount": {
|
|
"type": "integer",
|
|
"minimum": -9007199254740991,
|
|
"maximum": 9007199254740991
|
|
},
|
|
"within": {
|
|
"type": "string",
|
|
"maxLength": 32
|
|
},
|
|
"per_channel": {
|
|
"default": false,
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"amount",
|
|
"within"
|
|
],
|
|
"additionalProperties": false
|
|
},
|
|
"character_spam": {
|
|
"type": "object",
|
|
"properties": {
|
|
"amount": {
|
|
"type": "integer",
|
|
"minimum": -9007199254740991,
|
|
"maximum": 9007199254740991
|
|
},
|
|
"within": {
|
|
"type": "string",
|
|
"maxLength": 32
|
|
},
|
|
"per_channel": {
|
|
"default": false,
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"amount",
|
|
"within"
|
|
],
|
|
"additionalProperties": false
|
|
},
|
|
"member_join_spam": {
|
|
"type": "object",
|
|
"properties": {
|
|
"amount": {
|
|
"type": "integer",
|
|
"minimum": -9007199254740991,
|
|
"maximum": 9007199254740991
|
|
},
|
|
"within": {
|
|
"type": "string",
|
|
"maxLength": 32
|
|
}
|
|
},
|
|
"required": [
|
|
"amount",
|
|
"within"
|
|
],
|
|
"additionalProperties": false
|
|
},
|
|
"sticker_spam": {
|
|
"type": "object",
|
|
"properties": {
|
|
"amount": {
|
|
"type": "integer",
|
|
"minimum": -9007199254740991,
|
|
"maximum": 9007199254740991
|
|
},
|
|
"within": {
|
|
"type": "string",
|
|
"maxLength": 32
|
|
},
|
|
"per_channel": {
|
|
"default": false,
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"amount",
|
|
"within"
|
|
],
|
|
"additionalProperties": false
|
|
},
|
|
"thread_create_spam": {
|
|
"type": "object",
|
|
"properties": {
|
|
"amount": {
|
|
"type": "integer",
|
|
"minimum": -9007199254740991,
|
|
"maximum": 9007199254740991
|
|
},
|
|
"within": {
|
|
"type": "string",
|
|
"maxLength": 32
|
|
}
|
|
},
|
|
"required": [
|
|
"amount",
|
|
"within"
|
|
],
|
|
"additionalProperties": false
|
|
},
|
|
"counter_trigger": {
|
|
"type": "object",
|
|
"properties": {
|
|
"counter": {
|
|
"type": "string",
|
|
"maxLength": 100
|
|
},
|
|
"trigger": {
|
|
"type": "string",
|
|
"maxLength": 100
|
|
},
|
|
"reverse": {
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [
|
|
"counter",
|
|
"trigger"
|
|
],
|
|
"additionalProperties": false
|
|
},
|
|
"note": {
|
|
"type": "object",
|
|
"properties": {},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
"warn": {
|
|
"type": "object",
|
|
"properties": {
|
|
"manual": {
|
|
"default": true,
|
|
"type": "boolean"
|
|
},
|
|
"automatic": {
|
|
"default": true,
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
"mute": {
|
|
"type": "object",
|
|
"properties": {
|
|
"manual": {
|
|
"default": true,
|
|
"type": "boolean"
|
|
},
|
|
"automatic": {
|
|
"default": true,
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
"unmute": {
|
|
"type": "object",
|
|
"properties": {},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
"kick": {
|
|
"type": "object",
|
|
"properties": {
|
|
"manual": {
|
|
"default": true,
|
|
"type": "boolean"
|
|
},
|
|
"automatic": {
|
|
"default": true,
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
"ban": {
|
|
"type": "object",
|
|
"properties": {
|
|
"manual": {
|
|
"default": true,
|
|
"type": "boolean"
|
|
},
|
|
"automatic": {
|
|
"default": true,
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
"unban": {
|
|
"type": "object",
|
|
"properties": {},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
"antiraid_level": {
|
|
"type": "object",
|
|
"properties": {
|
|
"level": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string",
|
|
"maxLength": 100
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"only_on_change": {
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"level",
|
|
"only_on_change"
|
|
],
|
|
"additionalProperties": false
|
|
},
|
|
"thread_create": {
|
|
"type": "object",
|
|
"properties": {},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
"thread_delete": {
|
|
"type": "object",
|
|
"properties": {},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
"thread_archive": {
|
|
"type": "object",
|
|
"properties": {
|
|
"locked": {
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
"thread_unarchive": {
|
|
"type": "object",
|
|
"properties": {
|
|
"locked": {
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
}
|
|
},
|
|
"actions": {
|
|
"type": "object",
|
|
"properties": {
|
|
"clean": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"warn": {
|
|
"type": "object",
|
|
"properties": {
|
|
"reason": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"notify": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"const": "dm"
|
|
},
|
|
{
|
|
"const": "channel"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"notifyChannel": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"postInCaseLog": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"hide_case": {
|
|
"default": false,
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
"mute": {
|
|
"type": "object",
|
|
"properties": {
|
|
"reason": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"duration": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "string",
|
|
"maxLength": 32
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"notify": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"const": "dm"
|
|
},
|
|
{
|
|
"const": "channel"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"notifyChannel": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"remove_roles_on_mute": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"restore_roles_on_mute": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"postInCaseLog": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"hide_case": {
|
|
"default": false,
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
"kick": {
|
|
"type": "object",
|
|
"properties": {
|
|
"reason": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"notify": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"const": "dm"
|
|
},
|
|
{
|
|
"const": "channel"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"notifyChannel": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"postInCaseLog": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"hide_case": {
|
|
"default": false,
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
"ban": {
|
|
"type": "object",
|
|
"properties": {
|
|
"reason": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"duration": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "string",
|
|
"maxLength": 32
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"notify": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"const": "dm"
|
|
},
|
|
{
|
|
"const": "channel"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"notifyChannel": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"deleteMessageDays": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "number"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"postInCaseLog": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"hide_case": {
|
|
"default": false,
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
"alert": {
|
|
"type": "object",
|
|
"properties": {
|
|
"channel": {
|
|
"type": "string"
|
|
},
|
|
"text": {
|
|
"type": "string"
|
|
},
|
|
"allowed_mentions": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"everyone": {
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"users": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"roles": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"replied_user": {
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"channel",
|
|
"text"
|
|
]
|
|
},
|
|
"change_nickname": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"name": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"name"
|
|
],
|
|
"additionalProperties": false
|
|
}
|
|
]
|
|
},
|
|
"log": {
|
|
"default": true,
|
|
"type": "boolean"
|
|
},
|
|
"add_roles": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"remove_roles": {
|
|
"default": [],
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"set_antiraid_level": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"reply": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"text": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"content": {
|
|
"type": "string"
|
|
},
|
|
"tts": {
|
|
"type": "boolean"
|
|
},
|
|
"embeds": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"title": {
|
|
"type": "string"
|
|
},
|
|
"description": {
|
|
"type": "string"
|
|
},
|
|
"url": {
|
|
"type": "string"
|
|
},
|
|
"timestamp": {
|
|
"type": "string"
|
|
},
|
|
"color": {
|
|
"type": "number"
|
|
},
|
|
"footer": {
|
|
"type": "object",
|
|
"properties": {
|
|
"text": {
|
|
"type": "string"
|
|
},
|
|
"icon_url": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"text"
|
|
]
|
|
},
|
|
"image": {
|
|
"type": "object",
|
|
"properties": {
|
|
"url": {
|
|
"type": "string"
|
|
},
|
|
"width": {
|
|
"type": "number"
|
|
},
|
|
"height": {
|
|
"type": "number"
|
|
}
|
|
},
|
|
"required": []
|
|
},
|
|
"thumbnail": {
|
|
"type": "object",
|
|
"properties": {
|
|
"url": {
|
|
"type": "string"
|
|
},
|
|
"width": {
|
|
"type": "number"
|
|
},
|
|
"height": {
|
|
"type": "number"
|
|
}
|
|
},
|
|
"required": []
|
|
},
|
|
"video": {
|
|
"type": "object",
|
|
"properties": {
|
|
"url": {
|
|
"type": "string"
|
|
},
|
|
"width": {
|
|
"type": "number"
|
|
},
|
|
"height": {
|
|
"type": "number"
|
|
}
|
|
},
|
|
"required": []
|
|
},
|
|
"provider": {
|
|
"type": "object",
|
|
"properties": {
|
|
"name": {
|
|
"type": "string"
|
|
},
|
|
"url": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"name"
|
|
]
|
|
},
|
|
"fields": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"name": {
|
|
"type": "string"
|
|
},
|
|
"value": {
|
|
"type": "string"
|
|
},
|
|
"inline": {
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": []
|
|
}
|
|
},
|
|
"author": {
|
|
"anyOf": [
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"name": {
|
|
"type": "string"
|
|
},
|
|
"url": {
|
|
"type": "string"
|
|
},
|
|
"width": {
|
|
"type": "number"
|
|
},
|
|
"height": {
|
|
"type": "number"
|
|
}
|
|
},
|
|
"required": [
|
|
"name"
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": []
|
|
}
|
|
}
|
|
},
|
|
"required": []
|
|
}
|
|
]
|
|
},
|
|
"auto_delete": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string",
|
|
"maxLength": 32
|
|
},
|
|
{
|
|
"type": "number"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"inline": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [
|
|
"text"
|
|
],
|
|
"additionalProperties": false
|
|
}
|
|
]
|
|
},
|
|
"add_to_counter": {
|
|
"type": "object",
|
|
"properties": {
|
|
"counter": {
|
|
"type": "string"
|
|
},
|
|
"amount": {
|
|
"type": "number"
|
|
}
|
|
},
|
|
"required": [
|
|
"counter",
|
|
"amount"
|
|
]
|
|
},
|
|
"set_counter": {
|
|
"type": "object",
|
|
"properties": {
|
|
"counter": {
|
|
"type": "string"
|
|
},
|
|
"value": {
|
|
"type": "number",
|
|
"minimum": 0,
|
|
"maximum": 2147483647
|
|
}
|
|
},
|
|
"required": [
|
|
"counter",
|
|
"value"
|
|
],
|
|
"additionalProperties": false
|
|
},
|
|
"set_slowmode": {
|
|
"type": "object",
|
|
"properties": {
|
|
"channels": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"duration": {
|
|
"default": "10s",
|
|
"anyOf": [
|
|
{
|
|
"type": "string",
|
|
"maxLength": 32
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"channels"
|
|
],
|
|
"additionalProperties": false
|
|
},
|
|
"start_thread": {
|
|
"type": "object",
|
|
"properties": {
|
|
"name": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"auto_archive": {
|
|
"type": "string",
|
|
"maxLength": 32
|
|
},
|
|
"private": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"slowmode": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "string",
|
|
"maxLength": 32
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"limit_per_channel": {
|
|
"default": 5,
|
|
"anyOf": [
|
|
{
|
|
"type": "number"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"name",
|
|
"auto_archive"
|
|
],
|
|
"additionalProperties": false
|
|
},
|
|
"archive_thread": {
|
|
"type": "object",
|
|
"properties": {},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
"change_perms": {
|
|
"type": "object",
|
|
"properties": {
|
|
"target": {
|
|
"type": "string"
|
|
},
|
|
"channel": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"perms": {
|
|
"type": "object",
|
|
"propertyNames": {
|
|
"enum": [
|
|
"CreateInstantInvite",
|
|
"KickMembers",
|
|
"BanMembers",
|
|
"Administrator",
|
|
"ManageChannels",
|
|
"ManageGuild",
|
|
"AddReactions",
|
|
"ViewAuditLog",
|
|
"PrioritySpeaker",
|
|
"Stream",
|
|
"ViewChannel",
|
|
"SendMessages",
|
|
"SendTTSMessages",
|
|
"ManageMessages",
|
|
"EmbedLinks",
|
|
"AttachFiles",
|
|
"ReadMessageHistory",
|
|
"MentionEveryone",
|
|
"UseExternalEmojis",
|
|
"ViewGuildInsights",
|
|
"Connect",
|
|
"Speak",
|
|
"MuteMembers",
|
|
"DeafenMembers",
|
|
"MoveMembers",
|
|
"UseVAD",
|
|
"ChangeNickname",
|
|
"ManageNicknames",
|
|
"ManageRoles",
|
|
"ManageWebhooks",
|
|
"ManageEmojisAndStickers",
|
|
"ManageGuildExpressions",
|
|
"UseApplicationCommands",
|
|
"RequestToSpeak",
|
|
"ManageEvents",
|
|
"ManageThreads",
|
|
"CreatePublicThreads",
|
|
"CreatePrivateThreads",
|
|
"UseExternalStickers",
|
|
"SendMessagesInThreads",
|
|
"UseEmbeddedActivities",
|
|
"ModerateMembers",
|
|
"ViewCreatorMonetizationAnalytics",
|
|
"UseSoundboard",
|
|
"CreateGuildExpressions",
|
|
"CreateEvents",
|
|
"UseExternalSounds",
|
|
"SendVoiceMessages",
|
|
"SendPolls",
|
|
"UseExternalApps",
|
|
"CREATE_INSTANT_INVITE",
|
|
"KICK_MEMBERS",
|
|
"BAN_MEMBERS",
|
|
"ADMINISTRATOR",
|
|
"MANAGE_CHANNELS",
|
|
"MANAGE_GUILD",
|
|
"ADD_REACTIONS",
|
|
"VIEW_AUDIT_LOG",
|
|
"PRIORITY_SPEAKER",
|
|
"STREAM",
|
|
"VIEW_CHANNEL",
|
|
"SEND_MESSAGES",
|
|
"SEND_TTSMESSAGES",
|
|
"MANAGE_MESSAGES",
|
|
"EMBED_LINKS",
|
|
"ATTACH_FILES",
|
|
"READ_MESSAGE_HISTORY",
|
|
"MENTION_EVERYONE",
|
|
"USE_EXTERNAL_EMOJIS",
|
|
"VIEW_GUILD_INSIGHTS",
|
|
"CONNECT",
|
|
"SPEAK",
|
|
"MUTE_MEMBERS",
|
|
"DEAFEN_MEMBERS",
|
|
"MOVE_MEMBERS",
|
|
"USE_VAD",
|
|
"CHANGE_NICKNAME",
|
|
"MANAGE_NICKNAMES",
|
|
"MANAGE_ROLES",
|
|
"MANAGE_WEBHOOKS",
|
|
"MANAGE_EMOJIS_AND_STICKERS",
|
|
"USE_APPLICATION_COMMANDS",
|
|
"REQUEST_TO_SPEAK",
|
|
"MANAGE_EVENTS",
|
|
"MANAGE_THREADS",
|
|
"CREATE_PUBLIC_THREADS",
|
|
"CREATE_PRIVATE_THREADS",
|
|
"USE_EXTERNAL_STICKERS",
|
|
"SEND_MESSAGES_IN_THREADS",
|
|
"USE_EMBEDDED_ACTIVITIES",
|
|
"MODERATE_MEMBERS"
|
|
]
|
|
},
|
|
"additionalProperties": {
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"required": [
|
|
"target",
|
|
"perms"
|
|
],
|
|
"additionalProperties": false
|
|
},
|
|
"pause_invites": {
|
|
"type": "object",
|
|
"properties": {
|
|
"paused": {
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [
|
|
"paused"
|
|
],
|
|
"additionalProperties": false
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
}
|
|
},
|
|
"required": [
|
|
"triggers",
|
|
"actions"
|
|
],
|
|
"additionalProperties": false
|
|
}
|
|
},
|
|
"antiraid_levels": {
|
|
"default": [
|
|
"low",
|
|
"medium",
|
|
"high"
|
|
],
|
|
"maxItems": 10,
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string",
|
|
"maxLength": 100
|
|
}
|
|
},
|
|
"can_set_antiraid": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"can_view_antiraid": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
"overrides": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"channel": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"category": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"level": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"user": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"role": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"thread": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"is_thread": {
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"thread_type": {
|
|
"anyOf": [
|
|
{
|
|
"enum": [
|
|
"public",
|
|
"private"
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"extra": {},
|
|
"zzz_dummy_property_do_not_use": {},
|
|
"all": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/$defs/__schema1"
|
|
}
|
|
},
|
|
"any": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/$defs/__schema1"
|
|
}
|
|
},
|
|
"not": {
|
|
"$ref": "#/$defs/__schema1"
|
|
},
|
|
"config": {
|
|
"type": "object",
|
|
"properties": {
|
|
"rules": {
|
|
"default": {},
|
|
"type": "object",
|
|
"propertyNames": {
|
|
"type": "string",
|
|
"maxLength": 100
|
|
},
|
|
"additionalProperties": {
|
|
"type": "object",
|
|
"properties": {
|
|
"enabled": {
|
|
"default": true,
|
|
"type": "boolean"
|
|
},
|
|
"pretty_name": {
|
|
"type": "string"
|
|
},
|
|
"presets": {
|
|
"default": [],
|
|
"maxItems": 25,
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string",
|
|
"maxLength": 100
|
|
}
|
|
},
|
|
"affects_bots": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"affects_self": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"cooldown": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "string",
|
|
"maxLength": 32
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"allow_further_rules": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"triggers": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"any_message": {
|
|
"type": "object",
|
|
"properties": {},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
"match_words": {
|
|
"type": "object",
|
|
"properties": {
|
|
"words": {
|
|
"maxItems": 1024,
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string",
|
|
"maxLength": 2000
|
|
}
|
|
},
|
|
"case_sensitive": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"only_full_words": {
|
|
"default": true,
|
|
"type": "boolean"
|
|
},
|
|
"normalize": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"loose_matching": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"loose_matching_threshold": {
|
|
"default": 4,
|
|
"type": "integer",
|
|
"minimum": -9007199254740991,
|
|
"maximum": 9007199254740991
|
|
},
|
|
"strip_markdown": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"match_messages": {
|
|
"default": true,
|
|
"type": "boolean"
|
|
},
|
|
"match_embeds": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"match_visible_names": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"match_usernames": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"match_nicknames": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"match_custom_status": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
"match_regex": {
|
|
"type": "object",
|
|
"properties": {
|
|
"patterns": {
|
|
"maxItems": 512,
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string",
|
|
"maxLength": 2000
|
|
}
|
|
},
|
|
"case_sensitive": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"normalize": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"strip_markdown": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"match_messages": {
|
|
"default": true,
|
|
"type": "boolean"
|
|
},
|
|
"match_embeds": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"match_visible_names": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"match_usernames": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"match_nicknames": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"match_custom_status": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
"match_invites": {
|
|
"type": "object",
|
|
"properties": {
|
|
"include_guilds": {
|
|
"maxItems": 255,
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"exclude_guilds": {
|
|
"maxItems": 255,
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"include_invite_codes": {
|
|
"maxItems": 255,
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string",
|
|
"maxLength": 32
|
|
}
|
|
},
|
|
"exclude_invite_codes": {
|
|
"maxItems": 255,
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string",
|
|
"maxLength": 32
|
|
}
|
|
},
|
|
"allow_group_dm_invites": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"match_messages": {
|
|
"default": true,
|
|
"type": "boolean"
|
|
},
|
|
"match_embeds": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"match_visible_names": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"match_usernames": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"match_nicknames": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"match_custom_status": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
"match_links": {
|
|
"type": "object",
|
|
"properties": {
|
|
"include_domains": {
|
|
"maxItems": 700,
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string",
|
|
"maxLength": 255
|
|
}
|
|
},
|
|
"exclude_domains": {
|
|
"maxItems": 700,
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string",
|
|
"maxLength": 255
|
|
}
|
|
},
|
|
"include_subdomains": {
|
|
"default": true,
|
|
"type": "boolean"
|
|
},
|
|
"include_words": {
|
|
"maxItems": 700,
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string",
|
|
"maxLength": 2000
|
|
}
|
|
},
|
|
"exclude_words": {
|
|
"maxItems": 700,
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string",
|
|
"maxLength": 2000
|
|
}
|
|
},
|
|
"include_regex": {
|
|
"maxItems": 512,
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string",
|
|
"maxLength": 2000
|
|
}
|
|
},
|
|
"exclude_regex": {
|
|
"maxItems": 512,
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string",
|
|
"maxLength": 2000
|
|
}
|
|
},
|
|
"phisherman": {
|
|
"type": "object",
|
|
"properties": {
|
|
"include_suspected": {
|
|
"type": "boolean"
|
|
},
|
|
"include_verified": {
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
"only_real_links": {
|
|
"default": true,
|
|
"type": "boolean"
|
|
},
|
|
"match_messages": {
|
|
"default": true,
|
|
"type": "boolean"
|
|
},
|
|
"match_embeds": {
|
|
"default": true,
|
|
"type": "boolean"
|
|
},
|
|
"match_visible_names": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"match_usernames": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"match_nicknames": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"match_custom_status": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
"match_attachment_type": {
|
|
"type": "object",
|
|
"properties": {
|
|
"whitelist_enabled": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"filetype_whitelist": {
|
|
"default": [],
|
|
"maxItems": 255,
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string",
|
|
"maxLength": 32
|
|
}
|
|
},
|
|
"blacklist_enabled": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"filetype_blacklist": {
|
|
"default": [],
|
|
"maxItems": 255,
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string",
|
|
"maxLength": 32
|
|
}
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
"match_mime_type": {
|
|
"type": "object",
|
|
"properties": {
|
|
"whitelist_enabled": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"mime_type_whitelist": {
|
|
"default": [],
|
|
"maxItems": 255,
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string",
|
|
"maxLength": 32
|
|
}
|
|
},
|
|
"blacklist_enabled": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"mime_type_blacklist": {
|
|
"default": [],
|
|
"maxItems": 255,
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string",
|
|
"maxLength": 32
|
|
}
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
"member_join": {
|
|
"type": "object",
|
|
"properties": {
|
|
"only_new": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"new_threshold": {
|
|
"default": "1h",
|
|
"type": "string",
|
|
"maxLength": 32
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
"member_leave": {
|
|
"type": "object",
|
|
"properties": {},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
"role_added": {
|
|
"default": [],
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"maxItems": 255,
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"role_removed": {
|
|
"default": [],
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"maxItems": 255,
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"message_spam": {
|
|
"type": "object",
|
|
"properties": {
|
|
"amount": {
|
|
"type": "integer",
|
|
"minimum": -9007199254740991,
|
|
"maximum": 9007199254740991
|
|
},
|
|
"within": {
|
|
"type": "string",
|
|
"maxLength": 32
|
|
},
|
|
"per_channel": {
|
|
"default": false,
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
"mention_spam": {
|
|
"type": "object",
|
|
"properties": {
|
|
"amount": {
|
|
"type": "integer",
|
|
"minimum": -9007199254740991,
|
|
"maximum": 9007199254740991
|
|
},
|
|
"within": {
|
|
"type": "string",
|
|
"maxLength": 32
|
|
},
|
|
"per_channel": {
|
|
"default": false,
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
"link_spam": {
|
|
"type": "object",
|
|
"properties": {
|
|
"amount": {
|
|
"type": "integer",
|
|
"minimum": -9007199254740991,
|
|
"maximum": 9007199254740991
|
|
},
|
|
"within": {
|
|
"type": "string",
|
|
"maxLength": 32
|
|
},
|
|
"per_channel": {
|
|
"default": false,
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
"attachment_spam": {
|
|
"type": "object",
|
|
"properties": {
|
|
"amount": {
|
|
"type": "integer",
|
|
"minimum": -9007199254740991,
|
|
"maximum": 9007199254740991
|
|
},
|
|
"within": {
|
|
"type": "string",
|
|
"maxLength": 32
|
|
},
|
|
"per_channel": {
|
|
"default": false,
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
"emoji_spam": {
|
|
"type": "object",
|
|
"properties": {
|
|
"amount": {
|
|
"type": "integer",
|
|
"minimum": -9007199254740991,
|
|
"maximum": 9007199254740991
|
|
},
|
|
"within": {
|
|
"type": "string",
|
|
"maxLength": 32
|
|
},
|
|
"per_channel": {
|
|
"default": false,
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
"line_spam": {
|
|
"type": "object",
|
|
"properties": {
|
|
"amount": {
|
|
"type": "integer",
|
|
"minimum": -9007199254740991,
|
|
"maximum": 9007199254740991
|
|
},
|
|
"within": {
|
|
"type": "string",
|
|
"maxLength": 32
|
|
},
|
|
"per_channel": {
|
|
"default": false,
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
"character_spam": {
|
|
"type": "object",
|
|
"properties": {
|
|
"amount": {
|
|
"type": "integer",
|
|
"minimum": -9007199254740991,
|
|
"maximum": 9007199254740991
|
|
},
|
|
"within": {
|
|
"type": "string",
|
|
"maxLength": 32
|
|
},
|
|
"per_channel": {
|
|
"default": false,
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
"member_join_spam": {
|
|
"type": "object",
|
|
"properties": {
|
|
"amount": {
|
|
"type": "integer",
|
|
"minimum": -9007199254740991,
|
|
"maximum": 9007199254740991
|
|
},
|
|
"within": {
|
|
"type": "string",
|
|
"maxLength": 32
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
"sticker_spam": {
|
|
"type": "object",
|
|
"properties": {
|
|
"amount": {
|
|
"type": "integer",
|
|
"minimum": -9007199254740991,
|
|
"maximum": 9007199254740991
|
|
},
|
|
"within": {
|
|
"type": "string",
|
|
"maxLength": 32
|
|
},
|
|
"per_channel": {
|
|
"default": false,
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
"thread_create_spam": {
|
|
"type": "object",
|
|
"properties": {
|
|
"amount": {
|
|
"type": "integer",
|
|
"minimum": -9007199254740991,
|
|
"maximum": 9007199254740991
|
|
},
|
|
"within": {
|
|
"type": "string",
|
|
"maxLength": 32
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
"counter_trigger": {
|
|
"type": "object",
|
|
"properties": {
|
|
"counter": {
|
|
"type": "string",
|
|
"maxLength": 100
|
|
},
|
|
"trigger": {
|
|
"type": "string",
|
|
"maxLength": 100
|
|
},
|
|
"reverse": {
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
"note": {
|
|
"type": "object",
|
|
"properties": {},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
"warn": {
|
|
"type": "object",
|
|
"properties": {
|
|
"manual": {
|
|
"default": true,
|
|
"type": "boolean"
|
|
},
|
|
"automatic": {
|
|
"default": true,
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
"mute": {
|
|
"type": "object",
|
|
"properties": {
|
|
"manual": {
|
|
"default": true,
|
|
"type": "boolean"
|
|
},
|
|
"automatic": {
|
|
"default": true,
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
"unmute": {
|
|
"type": "object",
|
|
"properties": {},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
"kick": {
|
|
"type": "object",
|
|
"properties": {
|
|
"manual": {
|
|
"default": true,
|
|
"type": "boolean"
|
|
},
|
|
"automatic": {
|
|
"default": true,
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
"ban": {
|
|
"type": "object",
|
|
"properties": {
|
|
"manual": {
|
|
"default": true,
|
|
"type": "boolean"
|
|
},
|
|
"automatic": {
|
|
"default": true,
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
"unban": {
|
|
"type": "object",
|
|
"properties": {},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
"antiraid_level": {
|
|
"type": "object",
|
|
"properties": {
|
|
"level": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string",
|
|
"maxLength": 100
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"only_on_change": {
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
"thread_create": {
|
|
"type": "object",
|
|
"properties": {},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
"thread_delete": {
|
|
"type": "object",
|
|
"properties": {},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
"thread_archive": {
|
|
"type": "object",
|
|
"properties": {
|
|
"locked": {
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
"thread_unarchive": {
|
|
"type": "object",
|
|
"properties": {
|
|
"locked": {
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
}
|
|
},
|
|
"actions": {
|
|
"type": "object",
|
|
"properties": {
|
|
"clean": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"warn": {
|
|
"type": "object",
|
|
"properties": {
|
|
"reason": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"notify": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"const": "dm"
|
|
},
|
|
{
|
|
"const": "channel"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"notifyChannel": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"postInCaseLog": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"hide_case": {
|
|
"default": false,
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
"mute": {
|
|
"type": "object",
|
|
"properties": {
|
|
"reason": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"duration": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "string",
|
|
"maxLength": 32
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"notify": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"const": "dm"
|
|
},
|
|
{
|
|
"const": "channel"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"notifyChannel": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"remove_roles_on_mute": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"restore_roles_on_mute": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"postInCaseLog": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"hide_case": {
|
|
"default": false,
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
"kick": {
|
|
"type": "object",
|
|
"properties": {
|
|
"reason": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"notify": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"const": "dm"
|
|
},
|
|
{
|
|
"const": "channel"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"notifyChannel": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"postInCaseLog": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"hide_case": {
|
|
"default": false,
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
"ban": {
|
|
"type": "object",
|
|
"properties": {
|
|
"reason": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"duration": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "string",
|
|
"maxLength": 32
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"notify": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"const": "dm"
|
|
},
|
|
{
|
|
"const": "channel"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"notifyChannel": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"deleteMessageDays": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "number"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"postInCaseLog": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"hide_case": {
|
|
"default": false,
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
"alert": {
|
|
"type": "object",
|
|
"properties": {
|
|
"channel": {
|
|
"type": "string"
|
|
},
|
|
"text": {
|
|
"type": "string"
|
|
},
|
|
"allowed_mentions": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"everyone": {
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"users": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"roles": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"replied_user": {
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": []
|
|
},
|
|
"change_nickname": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"name": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
}
|
|
]
|
|
},
|
|
"log": {
|
|
"default": true,
|
|
"type": "boolean"
|
|
},
|
|
"add_roles": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"remove_roles": {
|
|
"default": [],
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"set_antiraid_level": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"reply": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"text": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"content": {
|
|
"type": "string"
|
|
},
|
|
"tts": {
|
|
"type": "boolean"
|
|
},
|
|
"embeds": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"title": {
|
|
"type": "string"
|
|
},
|
|
"description": {
|
|
"type": "string"
|
|
},
|
|
"url": {
|
|
"type": "string"
|
|
},
|
|
"timestamp": {
|
|
"type": "string"
|
|
},
|
|
"color": {
|
|
"type": "number"
|
|
},
|
|
"footer": {
|
|
"type": "object",
|
|
"properties": {
|
|
"text": {
|
|
"type": "string"
|
|
},
|
|
"icon_url": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": []
|
|
},
|
|
"image": {
|
|
"type": "object",
|
|
"properties": {
|
|
"url": {
|
|
"type": "string"
|
|
},
|
|
"width": {
|
|
"type": "number"
|
|
},
|
|
"height": {
|
|
"type": "number"
|
|
}
|
|
},
|
|
"required": []
|
|
},
|
|
"thumbnail": {
|
|
"type": "object",
|
|
"properties": {
|
|
"url": {
|
|
"type": "string"
|
|
},
|
|
"width": {
|
|
"type": "number"
|
|
},
|
|
"height": {
|
|
"type": "number"
|
|
}
|
|
},
|
|
"required": []
|
|
},
|
|
"video": {
|
|
"type": "object",
|
|
"properties": {
|
|
"url": {
|
|
"type": "string"
|
|
},
|
|
"width": {
|
|
"type": "number"
|
|
},
|
|
"height": {
|
|
"type": "number"
|
|
}
|
|
},
|
|
"required": []
|
|
},
|
|
"provider": {
|
|
"type": "object",
|
|
"properties": {
|
|
"name": {
|
|
"type": "string"
|
|
},
|
|
"url": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": []
|
|
},
|
|
"fields": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"name": {
|
|
"type": "string"
|
|
},
|
|
"value": {
|
|
"type": "string"
|
|
},
|
|
"inline": {
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": []
|
|
}
|
|
},
|
|
"author": {
|
|
"anyOf": [
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"name": {
|
|
"type": "string"
|
|
},
|
|
"url": {
|
|
"type": "string"
|
|
},
|
|
"width": {
|
|
"type": "number"
|
|
},
|
|
"height": {
|
|
"type": "number"
|
|
}
|
|
},
|
|
"required": []
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": []
|
|
}
|
|
}
|
|
},
|
|
"required": []
|
|
}
|
|
]
|
|
},
|
|
"auto_delete": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string",
|
|
"maxLength": 32
|
|
},
|
|
{
|
|
"type": "number"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"inline": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
}
|
|
]
|
|
},
|
|
"add_to_counter": {
|
|
"type": "object",
|
|
"properties": {
|
|
"counter": {
|
|
"type": "string"
|
|
},
|
|
"amount": {
|
|
"type": "number"
|
|
}
|
|
},
|
|
"required": []
|
|
},
|
|
"set_counter": {
|
|
"type": "object",
|
|
"properties": {
|
|
"counter": {
|
|
"type": "string"
|
|
},
|
|
"value": {
|
|
"type": "number",
|
|
"minimum": 0,
|
|
"maximum": 2147483647
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
"set_slowmode": {
|
|
"type": "object",
|
|
"properties": {
|
|
"channels": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"duration": {
|
|
"default": "10s",
|
|
"anyOf": [
|
|
{
|
|
"type": "string",
|
|
"maxLength": 32
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
"start_thread": {
|
|
"type": "object",
|
|
"properties": {
|
|
"name": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"auto_archive": {
|
|
"type": "string",
|
|
"maxLength": 32
|
|
},
|
|
"private": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"slowmode": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "string",
|
|
"maxLength": 32
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"limit_per_channel": {
|
|
"default": 5,
|
|
"anyOf": [
|
|
{
|
|
"type": "number"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
"archive_thread": {
|
|
"type": "object",
|
|
"properties": {},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
"change_perms": {
|
|
"type": "object",
|
|
"properties": {
|
|
"target": {
|
|
"type": "string"
|
|
},
|
|
"channel": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"perms": {
|
|
"type": "object",
|
|
"propertyNames": {
|
|
"enum": [
|
|
"CreateInstantInvite",
|
|
"KickMembers",
|
|
"BanMembers",
|
|
"Administrator",
|
|
"ManageChannels",
|
|
"ManageGuild",
|
|
"AddReactions",
|
|
"ViewAuditLog",
|
|
"PrioritySpeaker",
|
|
"Stream",
|
|
"ViewChannel",
|
|
"SendMessages",
|
|
"SendTTSMessages",
|
|
"ManageMessages",
|
|
"EmbedLinks",
|
|
"AttachFiles",
|
|
"ReadMessageHistory",
|
|
"MentionEveryone",
|
|
"UseExternalEmojis",
|
|
"ViewGuildInsights",
|
|
"Connect",
|
|
"Speak",
|
|
"MuteMembers",
|
|
"DeafenMembers",
|
|
"MoveMembers",
|
|
"UseVAD",
|
|
"ChangeNickname",
|
|
"ManageNicknames",
|
|
"ManageRoles",
|
|
"ManageWebhooks",
|
|
"ManageEmojisAndStickers",
|
|
"ManageGuildExpressions",
|
|
"UseApplicationCommands",
|
|
"RequestToSpeak",
|
|
"ManageEvents",
|
|
"ManageThreads",
|
|
"CreatePublicThreads",
|
|
"CreatePrivateThreads",
|
|
"UseExternalStickers",
|
|
"SendMessagesInThreads",
|
|
"UseEmbeddedActivities",
|
|
"ModerateMembers",
|
|
"ViewCreatorMonetizationAnalytics",
|
|
"UseSoundboard",
|
|
"CreateGuildExpressions",
|
|
"CreateEvents",
|
|
"UseExternalSounds",
|
|
"SendVoiceMessages",
|
|
"SendPolls",
|
|
"UseExternalApps",
|
|
"CREATE_INSTANT_INVITE",
|
|
"KICK_MEMBERS",
|
|
"BAN_MEMBERS",
|
|
"ADMINISTRATOR",
|
|
"MANAGE_CHANNELS",
|
|
"MANAGE_GUILD",
|
|
"ADD_REACTIONS",
|
|
"VIEW_AUDIT_LOG",
|
|
"PRIORITY_SPEAKER",
|
|
"STREAM",
|
|
"VIEW_CHANNEL",
|
|
"SEND_MESSAGES",
|
|
"SEND_TTSMESSAGES",
|
|
"MANAGE_MESSAGES",
|
|
"EMBED_LINKS",
|
|
"ATTACH_FILES",
|
|
"READ_MESSAGE_HISTORY",
|
|
"MENTION_EVERYONE",
|
|
"USE_EXTERNAL_EMOJIS",
|
|
"VIEW_GUILD_INSIGHTS",
|
|
"CONNECT",
|
|
"SPEAK",
|
|
"MUTE_MEMBERS",
|
|
"DEAFEN_MEMBERS",
|
|
"MOVE_MEMBERS",
|
|
"USE_VAD",
|
|
"CHANGE_NICKNAME",
|
|
"MANAGE_NICKNAMES",
|
|
"MANAGE_ROLES",
|
|
"MANAGE_WEBHOOKS",
|
|
"MANAGE_EMOJIS_AND_STICKERS",
|
|
"USE_APPLICATION_COMMANDS",
|
|
"REQUEST_TO_SPEAK",
|
|
"MANAGE_EVENTS",
|
|
"MANAGE_THREADS",
|
|
"CREATE_PUBLIC_THREADS",
|
|
"CREATE_PRIVATE_THREADS",
|
|
"USE_EXTERNAL_STICKERS",
|
|
"SEND_MESSAGES_IN_THREADS",
|
|
"USE_EMBEDDED_ACTIVITIES",
|
|
"MODERATE_MEMBERS"
|
|
]
|
|
},
|
|
"additionalProperties": {
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
"pause_invites": {
|
|
"type": "object",
|
|
"properties": {
|
|
"paused": {
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
}
|
|
},
|
|
"antiraid_levels": {
|
|
"default": [
|
|
"low",
|
|
"medium",
|
|
"high"
|
|
],
|
|
"maxItems": 10,
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string",
|
|
"maxLength": 100
|
|
}
|
|
},
|
|
"can_set_antiraid": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"can_view_antiraid": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
}
|
|
},
|
|
"required": [
|
|
"config"
|
|
],
|
|
"additionalProperties": false
|
|
}
|
|
}
|
|
},
|
|
"required": []
|
|
},
|
|
"auto_reactions": {
|
|
"type": "object",
|
|
"properties": {
|
|
"config": {
|
|
"type": "object",
|
|
"properties": {
|
|
"can_manage": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
"overrides": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"channel": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"category": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"level": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"user": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"role": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"thread": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"is_thread": {
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"thread_type": {
|
|
"anyOf": [
|
|
{
|
|
"enum": [
|
|
"public",
|
|
"private"
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"extra": {},
|
|
"zzz_dummy_property_do_not_use": {},
|
|
"all": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/$defs/__schema1"
|
|
}
|
|
},
|
|
"any": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/$defs/__schema1"
|
|
}
|
|
},
|
|
"not": {
|
|
"$ref": "#/$defs/__schema1"
|
|
},
|
|
"config": {
|
|
"type": "object",
|
|
"properties": {
|
|
"can_manage": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
}
|
|
},
|
|
"required": [
|
|
"config"
|
|
],
|
|
"additionalProperties": false
|
|
}
|
|
}
|
|
},
|
|
"required": []
|
|
},
|
|
"cases": {
|
|
"type": "object",
|
|
"properties": {
|
|
"config": {
|
|
"type": "object",
|
|
"properties": {
|
|
"log_automatic_actions": {
|
|
"default": true,
|
|
"type": "boolean"
|
|
},
|
|
"case_log_channel": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"show_relative_times": {
|
|
"default": true,
|
|
"type": "boolean"
|
|
},
|
|
"relative_time_cutoff": {
|
|
"default": "1w",
|
|
"type": "string",
|
|
"maxLength": 32
|
|
},
|
|
"case_colors": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "object",
|
|
"propertyNames": {
|
|
"enum": [
|
|
"ban",
|
|
"unban",
|
|
"note",
|
|
"warn",
|
|
"kick",
|
|
"mute",
|
|
"unmute",
|
|
"deleted",
|
|
"softban"
|
|
]
|
|
},
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"case_icons": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "object",
|
|
"propertyNames": {
|
|
"enum": [
|
|
"ban",
|
|
"unban",
|
|
"note",
|
|
"warn",
|
|
"kick",
|
|
"mute",
|
|
"unmute",
|
|
"deleted",
|
|
"softban"
|
|
]
|
|
},
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
"overrides": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"channel": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"category": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"level": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"user": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"role": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"thread": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"is_thread": {
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"thread_type": {
|
|
"anyOf": [
|
|
{
|
|
"enum": [
|
|
"public",
|
|
"private"
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"extra": {},
|
|
"zzz_dummy_property_do_not_use": {},
|
|
"all": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/$defs/__schema1"
|
|
}
|
|
},
|
|
"any": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/$defs/__schema1"
|
|
}
|
|
},
|
|
"not": {
|
|
"$ref": "#/$defs/__schema1"
|
|
},
|
|
"config": {
|
|
"type": "object",
|
|
"properties": {
|
|
"log_automatic_actions": {
|
|
"default": true,
|
|
"type": "boolean"
|
|
},
|
|
"case_log_channel": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"show_relative_times": {
|
|
"default": true,
|
|
"type": "boolean"
|
|
},
|
|
"relative_time_cutoff": {
|
|
"default": "1w",
|
|
"type": "string",
|
|
"maxLength": 32
|
|
},
|
|
"case_colors": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "object",
|
|
"propertyNames": {
|
|
"enum": [
|
|
"ban",
|
|
"unban",
|
|
"note",
|
|
"warn",
|
|
"kick",
|
|
"mute",
|
|
"unmute",
|
|
"deleted",
|
|
"softban"
|
|
]
|
|
},
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"case_icons": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "object",
|
|
"propertyNames": {
|
|
"enum": [
|
|
"ban",
|
|
"unban",
|
|
"note",
|
|
"warn",
|
|
"kick",
|
|
"mute",
|
|
"unmute",
|
|
"deleted",
|
|
"softban"
|
|
]
|
|
},
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
}
|
|
},
|
|
"required": [
|
|
"config"
|
|
],
|
|
"additionalProperties": false
|
|
}
|
|
}
|
|
},
|
|
"required": []
|
|
},
|
|
"censor": {
|
|
"type": "object",
|
|
"properties": {
|
|
"config": {
|
|
"type": "object",
|
|
"properties": {
|
|
"filter_zalgo": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"filter_invites": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"invite_guild_whitelist": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"invite_guild_blacklist": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"invite_code_whitelist": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"invite_code_blacklist": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"allow_group_dm_invites": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"filter_domains": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"domain_whitelist": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"domain_blacklist": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"blocked_tokens": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"blocked_words": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"blocked_regex": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string",
|
|
"maxLength": 1000
|
|
}
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
"overrides": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"channel": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"category": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"level": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"user": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"role": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"thread": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"is_thread": {
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"thread_type": {
|
|
"anyOf": [
|
|
{
|
|
"enum": [
|
|
"public",
|
|
"private"
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"extra": {},
|
|
"zzz_dummy_property_do_not_use": {},
|
|
"all": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/$defs/__schema1"
|
|
}
|
|
},
|
|
"any": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/$defs/__schema1"
|
|
}
|
|
},
|
|
"not": {
|
|
"$ref": "#/$defs/__schema1"
|
|
},
|
|
"config": {
|
|
"type": "object",
|
|
"properties": {
|
|
"filter_zalgo": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"filter_invites": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"invite_guild_whitelist": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"invite_guild_blacklist": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"invite_code_whitelist": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"invite_code_blacklist": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"allow_group_dm_invites": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"filter_domains": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"domain_whitelist": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"domain_blacklist": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"blocked_tokens": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"blocked_words": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"blocked_regex": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string",
|
|
"maxLength": 1000
|
|
}
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
}
|
|
},
|
|
"required": [
|
|
"config"
|
|
],
|
|
"additionalProperties": false
|
|
}
|
|
}
|
|
},
|
|
"required": []
|
|
},
|
|
"companion_channels": {
|
|
"type": "object",
|
|
"properties": {
|
|
"config": {
|
|
"type": "object",
|
|
"properties": {
|
|
"entries": {
|
|
"default": {},
|
|
"type": "object",
|
|
"propertyNames": {
|
|
"type": "string"
|
|
},
|
|
"additionalProperties": {
|
|
"type": "object",
|
|
"properties": {
|
|
"voice_channel_ids": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"text_channel_ids": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"permissions": {
|
|
"type": "number"
|
|
},
|
|
"enabled": {
|
|
"default": true,
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"voice_channel_ids",
|
|
"text_channel_ids",
|
|
"permissions"
|
|
],
|
|
"additionalProperties": false
|
|
}
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
"overrides": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"channel": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"category": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"level": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"user": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"role": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"thread": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"is_thread": {
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"thread_type": {
|
|
"anyOf": [
|
|
{
|
|
"enum": [
|
|
"public",
|
|
"private"
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"extra": {},
|
|
"zzz_dummy_property_do_not_use": {},
|
|
"all": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/$defs/__schema1"
|
|
}
|
|
},
|
|
"any": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/$defs/__schema1"
|
|
}
|
|
},
|
|
"not": {
|
|
"$ref": "#/$defs/__schema1"
|
|
},
|
|
"config": {
|
|
"type": "object",
|
|
"properties": {
|
|
"entries": {
|
|
"default": {},
|
|
"type": "object",
|
|
"propertyNames": {
|
|
"type": "string"
|
|
},
|
|
"additionalProperties": {
|
|
"type": "object",
|
|
"properties": {
|
|
"voice_channel_ids": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"text_channel_ids": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"permissions": {
|
|
"type": "number"
|
|
},
|
|
"enabled": {
|
|
"default": true,
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
}
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
}
|
|
},
|
|
"required": [
|
|
"config"
|
|
],
|
|
"additionalProperties": false
|
|
}
|
|
}
|
|
},
|
|
"required": []
|
|
},
|
|
"context_menu": {
|
|
"type": "object",
|
|
"properties": {
|
|
"config": {
|
|
"type": "object",
|
|
"properties": {
|
|
"can_use": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"can_open_mod_menu": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
"overrides": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"channel": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"category": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"level": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"user": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"role": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"thread": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"is_thread": {
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"thread_type": {
|
|
"anyOf": [
|
|
{
|
|
"enum": [
|
|
"public",
|
|
"private"
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"extra": {},
|
|
"zzz_dummy_property_do_not_use": {},
|
|
"all": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/$defs/__schema1"
|
|
}
|
|
},
|
|
"any": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/$defs/__schema1"
|
|
}
|
|
},
|
|
"not": {
|
|
"$ref": "#/$defs/__schema1"
|
|
},
|
|
"config": {
|
|
"type": "object",
|
|
"properties": {
|
|
"can_use": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"can_open_mod_menu": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
}
|
|
},
|
|
"required": [
|
|
"config"
|
|
],
|
|
"additionalProperties": false
|
|
}
|
|
}
|
|
},
|
|
"required": []
|
|
},
|
|
"counters": {
|
|
"type": "object",
|
|
"properties": {
|
|
"config": {
|
|
"type": "object",
|
|
"properties": {
|
|
"counters": {
|
|
"default": {},
|
|
"type": "object",
|
|
"propertyNames": {
|
|
"type": "string"
|
|
},
|
|
"additionalProperties": {
|
|
"type": "object",
|
|
"properties": {
|
|
"pretty_name": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"per_channel": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"per_user": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"initial_value": {
|
|
"default": 0,
|
|
"type": "number",
|
|
"minimum": 0,
|
|
"maximum": 2147483647
|
|
},
|
|
"triggers": {
|
|
"type": "object",
|
|
"propertyNames": {
|
|
"type": "string"
|
|
},
|
|
"additionalProperties": {
|
|
"anyOf": [
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"pretty_name": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"condition": {
|
|
"type": "string"
|
|
},
|
|
"reverse_condition": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"condition"
|
|
],
|
|
"additionalProperties": false
|
|
},
|
|
{
|
|
"type": "string"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"decay": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"amount": {
|
|
"type": "number"
|
|
},
|
|
"every": {
|
|
"type": "string",
|
|
"maxLength": 32
|
|
}
|
|
},
|
|
"required": [
|
|
"amount",
|
|
"every"
|
|
],
|
|
"additionalProperties": false
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"can_view": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"can_edit": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"can_reset_all": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [
|
|
"triggers"
|
|
],
|
|
"additionalProperties": false
|
|
}
|
|
},
|
|
"can_view": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"can_edit": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"can_reset_all": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
"overrides": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"channel": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"category": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"level": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"user": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"role": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"thread": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"is_thread": {
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"thread_type": {
|
|
"anyOf": [
|
|
{
|
|
"enum": [
|
|
"public",
|
|
"private"
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"extra": {},
|
|
"zzz_dummy_property_do_not_use": {},
|
|
"all": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/$defs/__schema1"
|
|
}
|
|
},
|
|
"any": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/$defs/__schema1"
|
|
}
|
|
},
|
|
"not": {
|
|
"$ref": "#/$defs/__schema1"
|
|
},
|
|
"config": {
|
|
"type": "object",
|
|
"properties": {
|
|
"counters": {
|
|
"default": {},
|
|
"type": "object",
|
|
"propertyNames": {
|
|
"type": "string"
|
|
},
|
|
"additionalProperties": {
|
|
"type": "object",
|
|
"properties": {
|
|
"pretty_name": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"per_channel": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"per_user": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"initial_value": {
|
|
"default": 0,
|
|
"type": "number",
|
|
"minimum": 0,
|
|
"maximum": 2147483647
|
|
},
|
|
"triggers": {
|
|
"type": "object",
|
|
"propertyNames": {
|
|
"type": "string"
|
|
},
|
|
"additionalProperties": {
|
|
"anyOf": [
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"pretty_name": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"condition": {
|
|
"type": "string"
|
|
},
|
|
"reverse_condition": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
{
|
|
"type": "string"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"decay": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"amount": {
|
|
"type": "number"
|
|
},
|
|
"every": {
|
|
"type": "string",
|
|
"maxLength": 32
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"can_view": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"can_edit": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"can_reset_all": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
}
|
|
},
|
|
"can_view": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"can_edit": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"can_reset_all": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
}
|
|
},
|
|
"required": [
|
|
"config"
|
|
],
|
|
"additionalProperties": false
|
|
}
|
|
}
|
|
},
|
|
"required": []
|
|
},
|
|
"custom_events": {
|
|
"type": "object",
|
|
"properties": {
|
|
"config": {
|
|
"type": "object",
|
|
"properties": {
|
|
"events": {
|
|
"default": {},
|
|
"type": "object",
|
|
"propertyNames": {
|
|
"type": "string"
|
|
},
|
|
"additionalProperties": {
|
|
"type": "object",
|
|
"properties": {
|
|
"name": {
|
|
"type": "string"
|
|
},
|
|
"trigger": {
|
|
"type": "object",
|
|
"properties": {
|
|
"type": {
|
|
"const": "command"
|
|
},
|
|
"name": {
|
|
"type": "string"
|
|
},
|
|
"params": {
|
|
"type": "string"
|
|
},
|
|
"can_use": {
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [
|
|
"type",
|
|
"name",
|
|
"params",
|
|
"can_use"
|
|
],
|
|
"additionalProperties": false
|
|
},
|
|
"actions": {
|
|
"maxItems": 10,
|
|
"type": "array",
|
|
"items": {
|
|
"anyOf": [
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"type": {
|
|
"const": "add_role"
|
|
},
|
|
"target": {
|
|
"type": "string"
|
|
},
|
|
"role": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"type",
|
|
"target",
|
|
"role"
|
|
],
|
|
"additionalProperties": false
|
|
},
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"type": {
|
|
"const": "create_case"
|
|
},
|
|
"case_type": {
|
|
"type": "string"
|
|
},
|
|
"mod": {
|
|
"type": "string"
|
|
},
|
|
"target": {
|
|
"type": "string"
|
|
},
|
|
"reason": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"type",
|
|
"case_type",
|
|
"mod",
|
|
"target",
|
|
"reason"
|
|
],
|
|
"additionalProperties": false
|
|
},
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"type": {
|
|
"const": "move_to_vc"
|
|
},
|
|
"target": {
|
|
"type": "string"
|
|
},
|
|
"channel": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"type",
|
|
"target",
|
|
"channel"
|
|
],
|
|
"additionalProperties": false
|
|
},
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"type": {
|
|
"const": "message"
|
|
},
|
|
"channel": {
|
|
"type": "string"
|
|
},
|
|
"content": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"type",
|
|
"channel",
|
|
"content"
|
|
],
|
|
"additionalProperties": false
|
|
},
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"type": {
|
|
"const": "make_role_mentionable"
|
|
},
|
|
"role": {
|
|
"type": "string"
|
|
},
|
|
"timeout": {
|
|
"type": "string",
|
|
"maxLength": 32
|
|
}
|
|
},
|
|
"required": [
|
|
"type",
|
|
"role",
|
|
"timeout"
|
|
],
|
|
"additionalProperties": false
|
|
},
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"type": {
|
|
"const": "make_role_unmentionable"
|
|
},
|
|
"role": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"type",
|
|
"role"
|
|
],
|
|
"additionalProperties": false
|
|
},
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"type": {
|
|
"const": "set_channel_permission_overrides"
|
|
},
|
|
"channel": {
|
|
"type": "string"
|
|
},
|
|
"overrides": {
|
|
"maxItems": 15,
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"type": {
|
|
"anyOf": [
|
|
{
|
|
"const": "member"
|
|
},
|
|
{
|
|
"const": "role"
|
|
}
|
|
]
|
|
},
|
|
"id": {
|
|
"type": "string"
|
|
},
|
|
"allow": {
|
|
"type": "number"
|
|
},
|
|
"deny": {
|
|
"type": "number"
|
|
}
|
|
},
|
|
"required": [
|
|
"type",
|
|
"id",
|
|
"allow",
|
|
"deny"
|
|
],
|
|
"additionalProperties": false
|
|
}
|
|
}
|
|
},
|
|
"required": [
|
|
"type",
|
|
"channel",
|
|
"overrides"
|
|
],
|
|
"additionalProperties": false
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"required": [
|
|
"name",
|
|
"trigger",
|
|
"actions"
|
|
],
|
|
"additionalProperties": false
|
|
}
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
"overrides": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"channel": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"category": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"level": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"user": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"role": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"thread": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"is_thread": {
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"thread_type": {
|
|
"anyOf": [
|
|
{
|
|
"enum": [
|
|
"public",
|
|
"private"
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"extra": {},
|
|
"zzz_dummy_property_do_not_use": {},
|
|
"all": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/$defs/__schema1"
|
|
}
|
|
},
|
|
"any": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/$defs/__schema1"
|
|
}
|
|
},
|
|
"not": {
|
|
"$ref": "#/$defs/__schema1"
|
|
},
|
|
"config": {
|
|
"type": "object",
|
|
"properties": {
|
|
"events": {
|
|
"default": {},
|
|
"type": "object",
|
|
"propertyNames": {
|
|
"type": "string"
|
|
},
|
|
"additionalProperties": {
|
|
"type": "object",
|
|
"properties": {
|
|
"name": {
|
|
"type": "string"
|
|
},
|
|
"trigger": {
|
|
"type": "object",
|
|
"properties": {
|
|
"type": {
|
|
"const": "command"
|
|
},
|
|
"name": {
|
|
"type": "string"
|
|
},
|
|
"params": {
|
|
"type": "string"
|
|
},
|
|
"can_use": {
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
"actions": {
|
|
"maxItems": 10,
|
|
"type": "array",
|
|
"items": {
|
|
"anyOf": [
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"type": {
|
|
"const": "add_role"
|
|
},
|
|
"target": {
|
|
"type": "string"
|
|
},
|
|
"role": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"type": {
|
|
"const": "create_case"
|
|
},
|
|
"case_type": {
|
|
"type": "string"
|
|
},
|
|
"mod": {
|
|
"type": "string"
|
|
},
|
|
"target": {
|
|
"type": "string"
|
|
},
|
|
"reason": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"type": {
|
|
"const": "move_to_vc"
|
|
},
|
|
"target": {
|
|
"type": "string"
|
|
},
|
|
"channel": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"type": {
|
|
"const": "message"
|
|
},
|
|
"channel": {
|
|
"type": "string"
|
|
},
|
|
"content": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"type": {
|
|
"const": "make_role_mentionable"
|
|
},
|
|
"role": {
|
|
"type": "string"
|
|
},
|
|
"timeout": {
|
|
"type": "string",
|
|
"maxLength": 32
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"type": {
|
|
"const": "make_role_unmentionable"
|
|
},
|
|
"role": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"type": {
|
|
"const": "set_channel_permission_overrides"
|
|
},
|
|
"channel": {
|
|
"type": "string"
|
|
},
|
|
"overrides": {
|
|
"maxItems": 15,
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"type": {
|
|
"anyOf": [
|
|
{
|
|
"const": "member"
|
|
},
|
|
{
|
|
"const": "role"
|
|
}
|
|
]
|
|
},
|
|
"id": {
|
|
"type": "string"
|
|
},
|
|
"allow": {
|
|
"type": "number"
|
|
},
|
|
"deny": {
|
|
"type": "number"
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
}
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
}
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
}
|
|
},
|
|
"required": [
|
|
"config"
|
|
],
|
|
"additionalProperties": false
|
|
}
|
|
}
|
|
},
|
|
"required": []
|
|
},
|
|
"guild_info_saver": {
|
|
"type": "object",
|
|
"properties": {
|
|
"config": {
|
|
"type": "object",
|
|
"properties": {},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
"overrides": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"channel": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"category": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"level": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"user": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"role": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"thread": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"is_thread": {
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"thread_type": {
|
|
"anyOf": [
|
|
{
|
|
"enum": [
|
|
"public",
|
|
"private"
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"extra": {},
|
|
"zzz_dummy_property_do_not_use": {},
|
|
"all": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/$defs/__schema1"
|
|
}
|
|
},
|
|
"any": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/$defs/__schema1"
|
|
}
|
|
},
|
|
"not": {
|
|
"$ref": "#/$defs/__schema1"
|
|
},
|
|
"config": {
|
|
"type": "object",
|
|
"properties": {},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
}
|
|
},
|
|
"required": [
|
|
"config"
|
|
],
|
|
"additionalProperties": false
|
|
}
|
|
}
|
|
},
|
|
"required": []
|
|
},
|
|
"internal_poster": {
|
|
"type": "object",
|
|
"properties": {
|
|
"config": {
|
|
"default": {},
|
|
"type": "object",
|
|
"properties": {},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
"overrides": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"channel": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"category": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"level": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"user": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"role": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"thread": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"is_thread": {
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"thread_type": {
|
|
"anyOf": [
|
|
{
|
|
"enum": [
|
|
"public",
|
|
"private"
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"extra": {},
|
|
"zzz_dummy_property_do_not_use": {},
|
|
"all": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/$defs/__schema1"
|
|
}
|
|
},
|
|
"any": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/$defs/__schema1"
|
|
}
|
|
},
|
|
"not": {
|
|
"$ref": "#/$defs/__schema1"
|
|
},
|
|
"config": {
|
|
"default": {},
|
|
"type": "object",
|
|
"properties": {},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
}
|
|
}
|
|
},
|
|
"required": []
|
|
},
|
|
"locate_user": {
|
|
"type": "object",
|
|
"properties": {
|
|
"config": {
|
|
"type": "object",
|
|
"properties": {
|
|
"can_where": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"can_alert": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
"overrides": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"channel": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"category": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"level": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"user": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"role": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"thread": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"is_thread": {
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"thread_type": {
|
|
"anyOf": [
|
|
{
|
|
"enum": [
|
|
"public",
|
|
"private"
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"extra": {},
|
|
"zzz_dummy_property_do_not_use": {},
|
|
"all": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/$defs/__schema1"
|
|
}
|
|
},
|
|
"any": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/$defs/__schema1"
|
|
}
|
|
},
|
|
"not": {
|
|
"$ref": "#/$defs/__schema1"
|
|
},
|
|
"config": {
|
|
"type": "object",
|
|
"properties": {
|
|
"can_where": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"can_alert": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
}
|
|
},
|
|
"required": [
|
|
"config"
|
|
],
|
|
"additionalProperties": false
|
|
}
|
|
}
|
|
},
|
|
"required": []
|
|
},
|
|
"logs": {
|
|
"type": "object",
|
|
"properties": {
|
|
"config": {
|
|
"type": "object",
|
|
"properties": {
|
|
"channels": {
|
|
"default": {},
|
|
"type": "object",
|
|
"propertyNames": {
|
|
"type": "string"
|
|
},
|
|
"additionalProperties": {
|
|
"type": "object",
|
|
"properties": {
|
|
"include": {
|
|
"default": [],
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"exclude": {
|
|
"default": [],
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"batched": {
|
|
"default": true,
|
|
"type": "boolean"
|
|
},
|
|
"batch_time": {
|
|
"default": 1000,
|
|
"type": "number",
|
|
"minimum": 250,
|
|
"maximum": 5000
|
|
},
|
|
"excluded_users": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"excluded_message_regexes": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"excluded_channels": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"excluded_categories": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"excluded_threads": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"exclude_bots": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"excluded_roles": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"format": {
|
|
"default": {},
|
|
"type": "object",
|
|
"propertyNames": {
|
|
"enum": [
|
|
"MEMBER_WARN",
|
|
"MEMBER_MUTE",
|
|
"MEMBER_UNMUTE",
|
|
"MEMBER_MUTE_EXPIRED",
|
|
"MEMBER_KICK",
|
|
"MEMBER_BAN",
|
|
"MEMBER_UNBAN",
|
|
"MEMBER_FORCEBAN",
|
|
"MEMBER_SOFTBAN",
|
|
"MEMBER_JOIN",
|
|
"MEMBER_LEAVE",
|
|
"MEMBER_ROLE_ADD",
|
|
"MEMBER_ROLE_REMOVE",
|
|
"MEMBER_NICK_CHANGE",
|
|
"MEMBER_USERNAME_CHANGE",
|
|
"MEMBER_RESTORE",
|
|
"CHANNEL_CREATE",
|
|
"CHANNEL_DELETE",
|
|
"CHANNEL_UPDATE",
|
|
"THREAD_CREATE",
|
|
"THREAD_DELETE",
|
|
"THREAD_UPDATE",
|
|
"ROLE_CREATE",
|
|
"ROLE_DELETE",
|
|
"ROLE_UPDATE",
|
|
"MESSAGE_EDIT",
|
|
"MESSAGE_DELETE",
|
|
"MESSAGE_DELETE_BULK",
|
|
"MESSAGE_DELETE_BARE",
|
|
"VOICE_CHANNEL_JOIN",
|
|
"VOICE_CHANNEL_LEAVE",
|
|
"VOICE_CHANNEL_MOVE",
|
|
"STAGE_INSTANCE_CREATE",
|
|
"STAGE_INSTANCE_DELETE",
|
|
"STAGE_INSTANCE_UPDATE",
|
|
"EMOJI_CREATE",
|
|
"EMOJI_DELETE",
|
|
"EMOJI_UPDATE",
|
|
"STICKER_CREATE",
|
|
"STICKER_DELETE",
|
|
"STICKER_UPDATE",
|
|
"COMMAND",
|
|
"MESSAGE_SPAM_DETECTED",
|
|
"CENSOR",
|
|
"CLEAN",
|
|
"CASE_CREATE",
|
|
"MASSUNBAN",
|
|
"MASSBAN",
|
|
"MASSMUTE",
|
|
"MEMBER_TIMED_MUTE",
|
|
"MEMBER_TIMED_UNMUTE",
|
|
"MEMBER_TIMED_BAN",
|
|
"MEMBER_TIMED_UNBAN",
|
|
"MEMBER_JOIN_WITH_PRIOR_RECORDS",
|
|
"OTHER_SPAM_DETECTED",
|
|
"MEMBER_ROLE_CHANGES",
|
|
"VOICE_CHANNEL_FORCE_MOVE",
|
|
"VOICE_CHANNEL_FORCE_DISCONNECT",
|
|
"CASE_UPDATE",
|
|
"MEMBER_MUTE_REJOIN",
|
|
"SCHEDULED_MESSAGE",
|
|
"POSTED_SCHEDULED_MESSAGE",
|
|
"BOT_ALERT",
|
|
"AUTOMOD_ACTION",
|
|
"SCHEDULED_REPEATED_MESSAGE",
|
|
"REPEATED_MESSAGE",
|
|
"MESSAGE_DELETE_AUTO",
|
|
"SET_ANTIRAID_USER",
|
|
"SET_ANTIRAID_AUTO",
|
|
"MEMBER_NOTE",
|
|
"CASE_DELETE",
|
|
"DM_FAILED"
|
|
]
|
|
},
|
|
"additionalProperties": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"content": {
|
|
"type": "string"
|
|
},
|
|
"tts": {
|
|
"type": "boolean"
|
|
},
|
|
"embeds": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"title": {
|
|
"type": "string"
|
|
},
|
|
"description": {
|
|
"type": "string"
|
|
},
|
|
"url": {
|
|
"type": "string"
|
|
},
|
|
"timestamp": {
|
|
"type": "string"
|
|
},
|
|
"color": {
|
|
"type": "number"
|
|
},
|
|
"footer": {
|
|
"type": "object",
|
|
"properties": {
|
|
"text": {
|
|
"type": "string"
|
|
},
|
|
"icon_url": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"text"
|
|
]
|
|
},
|
|
"image": {
|
|
"type": "object",
|
|
"properties": {
|
|
"url": {
|
|
"type": "string"
|
|
},
|
|
"width": {
|
|
"type": "number"
|
|
},
|
|
"height": {
|
|
"type": "number"
|
|
}
|
|
},
|
|
"required": []
|
|
},
|
|
"thumbnail": {
|
|
"type": "object",
|
|
"properties": {
|
|
"url": {
|
|
"type": "string"
|
|
},
|
|
"width": {
|
|
"type": "number"
|
|
},
|
|
"height": {
|
|
"type": "number"
|
|
}
|
|
},
|
|
"required": []
|
|
},
|
|
"video": {
|
|
"type": "object",
|
|
"properties": {
|
|
"url": {
|
|
"type": "string"
|
|
},
|
|
"width": {
|
|
"type": "number"
|
|
},
|
|
"height": {
|
|
"type": "number"
|
|
}
|
|
},
|
|
"required": []
|
|
},
|
|
"provider": {
|
|
"type": "object",
|
|
"properties": {
|
|
"name": {
|
|
"type": "string"
|
|
},
|
|
"url": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"name"
|
|
]
|
|
},
|
|
"fields": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"name": {
|
|
"type": "string"
|
|
},
|
|
"value": {
|
|
"type": "string"
|
|
},
|
|
"inline": {
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": []
|
|
}
|
|
},
|
|
"author": {
|
|
"anyOf": [
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"name": {
|
|
"type": "string"
|
|
},
|
|
"url": {
|
|
"type": "string"
|
|
},
|
|
"width": {
|
|
"type": "number"
|
|
},
|
|
"height": {
|
|
"type": "number"
|
|
}
|
|
},
|
|
"required": [
|
|
"name"
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": []
|
|
}
|
|
}
|
|
},
|
|
"required": []
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"timestamp_format": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"include_embed_timestamp": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
}
|
|
},
|
|
"format": {
|
|
"default": {
|
|
"MEMBER_NOTE": "{timestamp} 🖊 Note added on {userMention(user)} by {userMention(mod)}",
|
|
"MEMBER_WARN": "{timestamp} ⚠️ {userMention(member)} was warned by {userMention(mod)}",
|
|
"MEMBER_MUTE": "{timestamp} 🔇 {userMention(user)} was muted indefinitely by {userMention(mod)}",
|
|
"MEMBER_TIMED_MUTE": "{timestamp} 🔇 {userMention(user)} was muted for **{time}** by {userMention(mod)}",
|
|
"MEMBER_UNMUTE": "{timestamp} 🔊 {userMention(user)} was unmuted by {userMention(mod)}",
|
|
"MEMBER_TIMED_UNMUTE": "{timestamp} 🔊 {userMention(user)} was scheduled to be unmuted in **{time}** by {userMention(mod)}",
|
|
"MEMBER_MUTE_EXPIRED": "{timestamp} 🔊 {userMention(member)}'s mute expired",
|
|
"MEMBER_KICK": "{timestamp} 👢 {userMention(user)} was kicked by {userMention(mod)}",
|
|
"MEMBER_BAN": "{timestamp} 🔨 {userMention(user)} was banned by {userMention(mod)}",
|
|
"MEMBER_UNBAN": "{timestamp} 🔓 User (`{userId}`) was unbanned by {userMention(mod)}",
|
|
"MEMBER_FORCEBAN": "{timestamp} 🔨 User (`{userId}`) was forcebanned by {userMention(mod)}",
|
|
"MEMBER_SOFTBAN": "{timestamp} 🔨 {userMention(member)} was softbanned by {userMention(mod)}",
|
|
"MEMBER_JOIN": "{timestamp} 📥 {new} {userMention(member)} joined (created <t:{account_age_ts}:R>)",
|
|
"MEMBER_LEAVE": "{timestamp} 📤 {userMention(member)} left the server",
|
|
"MEMBER_ROLE_ADD": "{timestamp} 🔑 {userMention(mod)} added roles for {userMention(member)}: **{roles}**",
|
|
"MEMBER_ROLE_REMOVE": "{timestamp} 🔑 {userMention(mod)} removed roles from {userMention(member)}: **{roles}**",
|
|
"MEMBER_ROLE_CHANGES": "{timestamp} 🔑 {userMention(member)} had role changes: received **{addedRoles}**, lost **{removedRoles}**",
|
|
"MEMBER_NICK_CHANGE": "{timestamp} ✏ {userMention(member)}: nickname changed from **{oldNick}** to **{newNick}**",
|
|
"MEMBER_USERNAME_CHANGE": "{timestamp} ✏ {userMention(user)}: username changed from **{oldName}** to **{newName}**",
|
|
"MEMBER_RESTORE": "{timestamp} 💿 Restored {restoredData} for {userMention(member)} on rejoin",
|
|
"MEMBER_TIMED_BAN": "{timestamp} 🔨 {userMention(user)} was tempbanned by {userMention(mod)} for {banTime}",
|
|
"MEMBER_TIMED_UNBAN": "{timestamp} 🔓 User (`{userId}`) was automatically unbanned by {userMention(mod)} after a tempban for {banTime}",
|
|
"CHANNEL_CREATE": "{timestamp} 🖊 Channel {channelMention(channel)} was created",
|
|
"CHANNEL_DELETE": "{timestamp} 🗑 Channel {channelMention(channel)} was deleted",
|
|
"CHANNEL_UPDATE": "{timestamp} ✏ Channel {channelMention(newChannel)} was edited. Changes:\n{differenceString}",
|
|
"THREAD_CREATE": "{timestamp} 🖊 Thread {channelMention(thread)} was created in channel <#{thread.parentId}>",
|
|
"THREAD_DELETE": "{timestamp} 🗑 Thread {channelMention(thread)} was deleted/archived from channel <#{thread.parentId}>",
|
|
"THREAD_UPDATE": "{timestamp} ✏ Thread {channelMention(newThread)} was edited. Changes:\n{differenceString}",
|
|
"ROLE_CREATE": "{timestamp} 🖊 Role **{role.name}** (`{role.id}`) was created",
|
|
"ROLE_DELETE": "{timestamp} 🖊 Role **{role.name}** (`{role.id}`) was deleted",
|
|
"ROLE_UPDATE": "{timestamp} 🖊 Role **{newRole.name}** (`{newRole.id}`) was edited. Changes:\n{differenceString}",
|
|
"MESSAGE_EDIT": "{timestamp} ✏ {userMention(user)} edited their message (`{after.id}`) in {channelMention(channel)}:\n**Before:**{messageSummary(before)}**After:**{messageSummary(after)}",
|
|
"MESSAGE_DELETE": "{timestamp} 🗑 Message (`{message.id}`) from {userMention(user)} deleted in {channelMention(channel)} (originally posted at **{messageDate}**):{messageSummary(message)}",
|
|
"MESSAGE_DELETE_BULK": "{timestamp} 🗑 **{count}** messages by {authorIds} deleted in {channelMention(channel)} ({archiveUrl})",
|
|
"MESSAGE_DELETE_BARE": "{timestamp} 🗑 Message (`{messageId}`) deleted in {channelMention(channel)} (no more info available)",
|
|
"MESSAGE_DELETE_AUTO": "{timestamp} 🗑 Auto-deleted message (`{message.id}`) from {userMention(user)} in {channelMention(channel)} (originally posted at **{messageDate}**):{messageSummary(message)}",
|
|
"VOICE_CHANNEL_JOIN": "{timestamp} 🎙 🔵 {userMention(member)} joined {channelMention(channel)}",
|
|
"VOICE_CHANNEL_MOVE": "{timestamp} 🎙 ↔ {userMention(member)} moved from {channelMention(oldChannel)} to {channelMention(newChannel)}",
|
|
"VOICE_CHANNEL_LEAVE": "{timestamp} 🎙 🔴 {userMention(member)} left {channelMention(channel)}",
|
|
"VOICE_CHANNEL_FORCE_MOVE": "{timestamp} 🎙 ✍ {userMention(member)} was moved from **{oldChannel.name}** to **{newChannel.name}** by {userMention(mod)}",
|
|
"VOICE_CHANNEL_FORCE_DISCONNECT": "{timestamp} 🎙 🚫 {userMention(member)} was forcefully disconnected from **{oldChannel.name}** by {userMention(mod)}",
|
|
"STAGE_INSTANCE_CREATE": "{timestamp} 📣 Stage Instance `{stageInstance.topic}` was created in Stage Channel <#{stageChannel.id}>",
|
|
"STAGE_INSTANCE_DELETE": "{timestamp} 📣 Stage Instance `{stageInstance.topic}` was deleted in Stage Channel <#{stageChannel.id}>",
|
|
"STAGE_INSTANCE_UPDATE": "{timestamp} 📣 Stage Instance `{newStageInstance.topic}` was edited in Stage Channel <#{stageChannel.id}>. Changes:\n{differenceString}",
|
|
"EMOJI_CREATE": "{timestamp} {emoji.mention} Emoji **{emoji.name}** (`{emoji.id}`) was created",
|
|
"EMOJI_DELETE": "{timestamp} 👋 Emoji **{emoji.name}** (`{emoji.id}`) was deleted",
|
|
"EMOJI_UPDATE": "{timestamp} {newEmoji.mention} Emoji **{newEmoji.name}** (`{newEmoji.id}`) was updated. Changes:\n{differenceString}",
|
|
"STICKER_CREATE": "{timestamp} 🖼️ Sticker `{sticker.name} ({sticker.id})` was created. Description: `{sticker.description}` Format: {emoji.format}",
|
|
"STICKER_DELETE": "{timestamp} 🖼️ Sticker `{sticker.name} ({sticker.id})` was deleted.",
|
|
"STICKER_UPDATE": "{timestamp} 🖼️ Sticker `{newSticker.name} ({sticker.id})` was updated. Changes:\n{differenceString}",
|
|
"COMMAND": "{timestamp} 🤖 {userMention(member)} used command in {channelMention(channel)}:\n`{command}`",
|
|
"MESSAGE_SPAM_DETECTED": "{timestamp} 🛑 {userMention(member)} spam detected in {channelMention(channel)}: {description} (more than {limit} in {interval}s)\n{archiveUrl}",
|
|
"OTHER_SPAM_DETECTED": "{timestamp} 🛑 {userMention(member)} spam detected: {description} (more than {limit} in {interval}s)",
|
|
"CENSOR": "{timestamp} 🛑 Censored message (`{message.id}`) from {userMention(user)} in {channelMention(channel)}: {reason}:\n```{messageText}```",
|
|
"CLEAN": "{timestamp} 🚿 {userMention(mod)} cleaned **{count}** message(s) in {channelMention(channel)}\n{archiveUrl}",
|
|
"CASE_CREATE": "{timestamp} ✏ {userMention(mod)} manually created new **{caseType}** case (#{caseNum})",
|
|
"CASE_DELETE": "{timestamp} ✂️ **Case #{case.case_number}** was deleted by {userMention(mod)}",
|
|
"MASSUNBAN": "{timestamp} ⚒ {userMention(mod)} mass-unbanned {count} users",
|
|
"MASSBAN": "{timestamp} ⚒ {userMention(mod)} massbanned {count} users",
|
|
"MASSMUTE": "{timestamp} 📢🚫 {userMention(mod)} massmuted {count} users",
|
|
"MEMBER_JOIN_WITH_PRIOR_RECORDS": "{timestamp} ⚠ {userMention(member)} joined with prior records. Recent cases:\n{recentCaseSummary}",
|
|
"CASE_UPDATE": "{timestamp} ✏ {userMention(mod)} updated case #{caseNumber} ({caseType}) with note:\n```{note}```",
|
|
"MEMBER_MUTE_REJOIN": "{timestamp} ⚠ Reapplied active mute for {userMention(member)} on rejoin",
|
|
"SCHEDULED_MESSAGE": "{timestamp} ⏰ {userMention(author)} scheduled a message to be posted to {channelMention(channel)} on {datetime}",
|
|
"SCHEDULED_REPEATED_MESSAGE": "{timestamp} ⏰ {userMention(author)} scheduled a message to be posted to {channelMention(channel)} on {datetime}, repeated {repeatDetails}",
|
|
"REPEATED_MESSAGE": "{timestamp} ⏰ {userMention(author)} scheduled a message to be posted to {channelMention(channel)} {repeatDetails}",
|
|
"POSTED_SCHEDULED_MESSAGE": "{timestamp} 📨 Posted scheduled message (`{messageId}`) to {channelMention(channel)} as scheduled by {userMention(author)}",
|
|
"BOT_ALERT": "{timestamp} ⚠ **BOT ALERT:** {tmplEval(body)}",
|
|
"DM_FAILED": "{timestamp} 🚧 Failed to send DM ({source}) to {userMention(user)}",
|
|
"AUTOMOD_ACTION": "{timestamp} 🤖 Automod rule **{if(not(prettyName), rule, prettyName)}** triggered by {userMention(users)}\n{matchSummary}\nActions taken: **{actionsTaken}**",
|
|
"SET_ANTIRAID_USER": "{timestamp} ⚔ {userMention(user)} set anti-raid to **{level}**",
|
|
"SET_ANTIRAID_AUTO": "{timestamp} ⚔ Anti-raid automatically set to **{level}**"
|
|
},
|
|
"type": "object",
|
|
"propertyNames": {
|
|
"enum": [
|
|
"MEMBER_WARN",
|
|
"MEMBER_MUTE",
|
|
"MEMBER_UNMUTE",
|
|
"MEMBER_MUTE_EXPIRED",
|
|
"MEMBER_KICK",
|
|
"MEMBER_BAN",
|
|
"MEMBER_UNBAN",
|
|
"MEMBER_FORCEBAN",
|
|
"MEMBER_SOFTBAN",
|
|
"MEMBER_JOIN",
|
|
"MEMBER_LEAVE",
|
|
"MEMBER_ROLE_ADD",
|
|
"MEMBER_ROLE_REMOVE",
|
|
"MEMBER_NICK_CHANGE",
|
|
"MEMBER_USERNAME_CHANGE",
|
|
"MEMBER_RESTORE",
|
|
"CHANNEL_CREATE",
|
|
"CHANNEL_DELETE",
|
|
"CHANNEL_UPDATE",
|
|
"THREAD_CREATE",
|
|
"THREAD_DELETE",
|
|
"THREAD_UPDATE",
|
|
"ROLE_CREATE",
|
|
"ROLE_DELETE",
|
|
"ROLE_UPDATE",
|
|
"MESSAGE_EDIT",
|
|
"MESSAGE_DELETE",
|
|
"MESSAGE_DELETE_BULK",
|
|
"MESSAGE_DELETE_BARE",
|
|
"VOICE_CHANNEL_JOIN",
|
|
"VOICE_CHANNEL_LEAVE",
|
|
"VOICE_CHANNEL_MOVE",
|
|
"STAGE_INSTANCE_CREATE",
|
|
"STAGE_INSTANCE_DELETE",
|
|
"STAGE_INSTANCE_UPDATE",
|
|
"EMOJI_CREATE",
|
|
"EMOJI_DELETE",
|
|
"EMOJI_UPDATE",
|
|
"STICKER_CREATE",
|
|
"STICKER_DELETE",
|
|
"STICKER_UPDATE",
|
|
"COMMAND",
|
|
"MESSAGE_SPAM_DETECTED",
|
|
"CENSOR",
|
|
"CLEAN",
|
|
"CASE_CREATE",
|
|
"MASSUNBAN",
|
|
"MASSBAN",
|
|
"MASSMUTE",
|
|
"MEMBER_TIMED_MUTE",
|
|
"MEMBER_TIMED_UNMUTE",
|
|
"MEMBER_TIMED_BAN",
|
|
"MEMBER_TIMED_UNBAN",
|
|
"MEMBER_JOIN_WITH_PRIOR_RECORDS",
|
|
"OTHER_SPAM_DETECTED",
|
|
"MEMBER_ROLE_CHANGES",
|
|
"VOICE_CHANNEL_FORCE_MOVE",
|
|
"VOICE_CHANNEL_FORCE_DISCONNECT",
|
|
"CASE_UPDATE",
|
|
"MEMBER_MUTE_REJOIN",
|
|
"SCHEDULED_MESSAGE",
|
|
"POSTED_SCHEDULED_MESSAGE",
|
|
"BOT_ALERT",
|
|
"AUTOMOD_ACTION",
|
|
"SCHEDULED_REPEATED_MESSAGE",
|
|
"REPEATED_MESSAGE",
|
|
"MESSAGE_DELETE_AUTO",
|
|
"SET_ANTIRAID_USER",
|
|
"SET_ANTIRAID_AUTO",
|
|
"MEMBER_NOTE",
|
|
"CASE_DELETE",
|
|
"DM_FAILED"
|
|
]
|
|
},
|
|
"additionalProperties": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"content": {
|
|
"type": "string"
|
|
},
|
|
"tts": {
|
|
"type": "boolean"
|
|
},
|
|
"embeds": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"title": {
|
|
"type": "string"
|
|
},
|
|
"description": {
|
|
"type": "string"
|
|
},
|
|
"url": {
|
|
"type": "string"
|
|
},
|
|
"timestamp": {
|
|
"type": "string"
|
|
},
|
|
"color": {
|
|
"type": "number"
|
|
},
|
|
"footer": {
|
|
"type": "object",
|
|
"properties": {
|
|
"text": {
|
|
"type": "string"
|
|
},
|
|
"icon_url": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"text"
|
|
]
|
|
},
|
|
"image": {
|
|
"type": "object",
|
|
"properties": {
|
|
"url": {
|
|
"type": "string"
|
|
},
|
|
"width": {
|
|
"type": "number"
|
|
},
|
|
"height": {
|
|
"type": "number"
|
|
}
|
|
},
|
|
"required": []
|
|
},
|
|
"thumbnail": {
|
|
"type": "object",
|
|
"properties": {
|
|
"url": {
|
|
"type": "string"
|
|
},
|
|
"width": {
|
|
"type": "number"
|
|
},
|
|
"height": {
|
|
"type": "number"
|
|
}
|
|
},
|
|
"required": []
|
|
},
|
|
"video": {
|
|
"type": "object",
|
|
"properties": {
|
|
"url": {
|
|
"type": "string"
|
|
},
|
|
"width": {
|
|
"type": "number"
|
|
},
|
|
"height": {
|
|
"type": "number"
|
|
}
|
|
},
|
|
"required": []
|
|
},
|
|
"provider": {
|
|
"type": "object",
|
|
"properties": {
|
|
"name": {
|
|
"type": "string"
|
|
},
|
|
"url": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"name"
|
|
]
|
|
},
|
|
"fields": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"name": {
|
|
"type": "string"
|
|
},
|
|
"value": {
|
|
"type": "string"
|
|
},
|
|
"inline": {
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": []
|
|
}
|
|
},
|
|
"author": {
|
|
"anyOf": [
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"name": {
|
|
"type": "string"
|
|
},
|
|
"url": {
|
|
"type": "string"
|
|
},
|
|
"width": {
|
|
"type": "number"
|
|
},
|
|
"height": {
|
|
"type": "number"
|
|
}
|
|
},
|
|
"required": [
|
|
"name"
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": []
|
|
}
|
|
}
|
|
},
|
|
"required": []
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"ping_user": {
|
|
"default": true,
|
|
"type": "boolean"
|
|
},
|
|
"allow_user_mentions": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"timestamp_format": {
|
|
"default": "[<t:]X[>]",
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"include_embed_timestamp": {
|
|
"default": true,
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
"overrides": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"channel": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"category": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"level": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"user": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"role": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"thread": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"is_thread": {
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"thread_type": {
|
|
"anyOf": [
|
|
{
|
|
"enum": [
|
|
"public",
|
|
"private"
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"extra": {},
|
|
"zzz_dummy_property_do_not_use": {},
|
|
"all": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/$defs/__schema1"
|
|
}
|
|
},
|
|
"any": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/$defs/__schema1"
|
|
}
|
|
},
|
|
"not": {
|
|
"$ref": "#/$defs/__schema1"
|
|
},
|
|
"config": {
|
|
"type": "object",
|
|
"properties": {
|
|
"channels": {
|
|
"default": {},
|
|
"type": "object",
|
|
"propertyNames": {
|
|
"type": "string"
|
|
},
|
|
"additionalProperties": {
|
|
"type": "object",
|
|
"properties": {
|
|
"include": {
|
|
"default": [],
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"exclude": {
|
|
"default": [],
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"batched": {
|
|
"default": true,
|
|
"type": "boolean"
|
|
},
|
|
"batch_time": {
|
|
"default": 1000,
|
|
"type": "number",
|
|
"minimum": 250,
|
|
"maximum": 5000
|
|
},
|
|
"excluded_users": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"excluded_message_regexes": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"excluded_channels": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"excluded_categories": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"excluded_threads": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"exclude_bots": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"excluded_roles": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"format": {
|
|
"default": {},
|
|
"type": "object",
|
|
"propertyNames": {
|
|
"enum": [
|
|
"MEMBER_WARN",
|
|
"MEMBER_MUTE",
|
|
"MEMBER_UNMUTE",
|
|
"MEMBER_MUTE_EXPIRED",
|
|
"MEMBER_KICK",
|
|
"MEMBER_BAN",
|
|
"MEMBER_UNBAN",
|
|
"MEMBER_FORCEBAN",
|
|
"MEMBER_SOFTBAN",
|
|
"MEMBER_JOIN",
|
|
"MEMBER_LEAVE",
|
|
"MEMBER_ROLE_ADD",
|
|
"MEMBER_ROLE_REMOVE",
|
|
"MEMBER_NICK_CHANGE",
|
|
"MEMBER_USERNAME_CHANGE",
|
|
"MEMBER_RESTORE",
|
|
"CHANNEL_CREATE",
|
|
"CHANNEL_DELETE",
|
|
"CHANNEL_UPDATE",
|
|
"THREAD_CREATE",
|
|
"THREAD_DELETE",
|
|
"THREAD_UPDATE",
|
|
"ROLE_CREATE",
|
|
"ROLE_DELETE",
|
|
"ROLE_UPDATE",
|
|
"MESSAGE_EDIT",
|
|
"MESSAGE_DELETE",
|
|
"MESSAGE_DELETE_BULK",
|
|
"MESSAGE_DELETE_BARE",
|
|
"VOICE_CHANNEL_JOIN",
|
|
"VOICE_CHANNEL_LEAVE",
|
|
"VOICE_CHANNEL_MOVE",
|
|
"STAGE_INSTANCE_CREATE",
|
|
"STAGE_INSTANCE_DELETE",
|
|
"STAGE_INSTANCE_UPDATE",
|
|
"EMOJI_CREATE",
|
|
"EMOJI_DELETE",
|
|
"EMOJI_UPDATE",
|
|
"STICKER_CREATE",
|
|
"STICKER_DELETE",
|
|
"STICKER_UPDATE",
|
|
"COMMAND",
|
|
"MESSAGE_SPAM_DETECTED",
|
|
"CENSOR",
|
|
"CLEAN",
|
|
"CASE_CREATE",
|
|
"MASSUNBAN",
|
|
"MASSBAN",
|
|
"MASSMUTE",
|
|
"MEMBER_TIMED_MUTE",
|
|
"MEMBER_TIMED_UNMUTE",
|
|
"MEMBER_TIMED_BAN",
|
|
"MEMBER_TIMED_UNBAN",
|
|
"MEMBER_JOIN_WITH_PRIOR_RECORDS",
|
|
"OTHER_SPAM_DETECTED",
|
|
"MEMBER_ROLE_CHANGES",
|
|
"VOICE_CHANNEL_FORCE_MOVE",
|
|
"VOICE_CHANNEL_FORCE_DISCONNECT",
|
|
"CASE_UPDATE",
|
|
"MEMBER_MUTE_REJOIN",
|
|
"SCHEDULED_MESSAGE",
|
|
"POSTED_SCHEDULED_MESSAGE",
|
|
"BOT_ALERT",
|
|
"AUTOMOD_ACTION",
|
|
"SCHEDULED_REPEATED_MESSAGE",
|
|
"REPEATED_MESSAGE",
|
|
"MESSAGE_DELETE_AUTO",
|
|
"SET_ANTIRAID_USER",
|
|
"SET_ANTIRAID_AUTO",
|
|
"MEMBER_NOTE",
|
|
"CASE_DELETE",
|
|
"DM_FAILED"
|
|
]
|
|
},
|
|
"additionalProperties": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"content": {
|
|
"type": "string"
|
|
},
|
|
"tts": {
|
|
"type": "boolean"
|
|
},
|
|
"embeds": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"title": {
|
|
"type": "string"
|
|
},
|
|
"description": {
|
|
"type": "string"
|
|
},
|
|
"url": {
|
|
"type": "string"
|
|
},
|
|
"timestamp": {
|
|
"type": "string"
|
|
},
|
|
"color": {
|
|
"type": "number"
|
|
},
|
|
"footer": {
|
|
"type": "object",
|
|
"properties": {
|
|
"text": {
|
|
"type": "string"
|
|
},
|
|
"icon_url": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": []
|
|
},
|
|
"image": {
|
|
"type": "object",
|
|
"properties": {
|
|
"url": {
|
|
"type": "string"
|
|
},
|
|
"width": {
|
|
"type": "number"
|
|
},
|
|
"height": {
|
|
"type": "number"
|
|
}
|
|
},
|
|
"required": []
|
|
},
|
|
"thumbnail": {
|
|
"type": "object",
|
|
"properties": {
|
|
"url": {
|
|
"type": "string"
|
|
},
|
|
"width": {
|
|
"type": "number"
|
|
},
|
|
"height": {
|
|
"type": "number"
|
|
}
|
|
},
|
|
"required": []
|
|
},
|
|
"video": {
|
|
"type": "object",
|
|
"properties": {
|
|
"url": {
|
|
"type": "string"
|
|
},
|
|
"width": {
|
|
"type": "number"
|
|
},
|
|
"height": {
|
|
"type": "number"
|
|
}
|
|
},
|
|
"required": []
|
|
},
|
|
"provider": {
|
|
"type": "object",
|
|
"properties": {
|
|
"name": {
|
|
"type": "string"
|
|
},
|
|
"url": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": []
|
|
},
|
|
"fields": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"name": {
|
|
"type": "string"
|
|
},
|
|
"value": {
|
|
"type": "string"
|
|
},
|
|
"inline": {
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": []
|
|
}
|
|
},
|
|
"author": {
|
|
"anyOf": [
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"name": {
|
|
"type": "string"
|
|
},
|
|
"url": {
|
|
"type": "string"
|
|
},
|
|
"width": {
|
|
"type": "number"
|
|
},
|
|
"height": {
|
|
"type": "number"
|
|
}
|
|
},
|
|
"required": []
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": []
|
|
}
|
|
}
|
|
},
|
|
"required": []
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"timestamp_format": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"include_embed_timestamp": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
}
|
|
},
|
|
"format": {
|
|
"default": {
|
|
"MEMBER_NOTE": "{timestamp} 🖊 Note added on {userMention(user)} by {userMention(mod)}",
|
|
"MEMBER_WARN": "{timestamp} ⚠️ {userMention(member)} was warned by {userMention(mod)}",
|
|
"MEMBER_MUTE": "{timestamp} 🔇 {userMention(user)} was muted indefinitely by {userMention(mod)}",
|
|
"MEMBER_TIMED_MUTE": "{timestamp} 🔇 {userMention(user)} was muted for **{time}** by {userMention(mod)}",
|
|
"MEMBER_UNMUTE": "{timestamp} 🔊 {userMention(user)} was unmuted by {userMention(mod)}",
|
|
"MEMBER_TIMED_UNMUTE": "{timestamp} 🔊 {userMention(user)} was scheduled to be unmuted in **{time}** by {userMention(mod)}",
|
|
"MEMBER_MUTE_EXPIRED": "{timestamp} 🔊 {userMention(member)}'s mute expired",
|
|
"MEMBER_KICK": "{timestamp} 👢 {userMention(user)} was kicked by {userMention(mod)}",
|
|
"MEMBER_BAN": "{timestamp} 🔨 {userMention(user)} was banned by {userMention(mod)}",
|
|
"MEMBER_UNBAN": "{timestamp} 🔓 User (`{userId}`) was unbanned by {userMention(mod)}",
|
|
"MEMBER_FORCEBAN": "{timestamp} 🔨 User (`{userId}`) was forcebanned by {userMention(mod)}",
|
|
"MEMBER_SOFTBAN": "{timestamp} 🔨 {userMention(member)} was softbanned by {userMention(mod)}",
|
|
"MEMBER_JOIN": "{timestamp} 📥 {new} {userMention(member)} joined (created <t:{account_age_ts}:R>)",
|
|
"MEMBER_LEAVE": "{timestamp} 📤 {userMention(member)} left the server",
|
|
"MEMBER_ROLE_ADD": "{timestamp} 🔑 {userMention(mod)} added roles for {userMention(member)}: **{roles}**",
|
|
"MEMBER_ROLE_REMOVE": "{timestamp} 🔑 {userMention(mod)} removed roles from {userMention(member)}: **{roles}**",
|
|
"MEMBER_ROLE_CHANGES": "{timestamp} 🔑 {userMention(member)} had role changes: received **{addedRoles}**, lost **{removedRoles}**",
|
|
"MEMBER_NICK_CHANGE": "{timestamp} ✏ {userMention(member)}: nickname changed from **{oldNick}** to **{newNick}**",
|
|
"MEMBER_USERNAME_CHANGE": "{timestamp} ✏ {userMention(user)}: username changed from **{oldName}** to **{newName}**",
|
|
"MEMBER_RESTORE": "{timestamp} 💿 Restored {restoredData} for {userMention(member)} on rejoin",
|
|
"MEMBER_TIMED_BAN": "{timestamp} 🔨 {userMention(user)} was tempbanned by {userMention(mod)} for {banTime}",
|
|
"MEMBER_TIMED_UNBAN": "{timestamp} 🔓 User (`{userId}`) was automatically unbanned by {userMention(mod)} after a tempban for {banTime}",
|
|
"CHANNEL_CREATE": "{timestamp} 🖊 Channel {channelMention(channel)} was created",
|
|
"CHANNEL_DELETE": "{timestamp} 🗑 Channel {channelMention(channel)} was deleted",
|
|
"CHANNEL_UPDATE": "{timestamp} ✏ Channel {channelMention(newChannel)} was edited. Changes:\n{differenceString}",
|
|
"THREAD_CREATE": "{timestamp} 🖊 Thread {channelMention(thread)} was created in channel <#{thread.parentId}>",
|
|
"THREAD_DELETE": "{timestamp} 🗑 Thread {channelMention(thread)} was deleted/archived from channel <#{thread.parentId}>",
|
|
"THREAD_UPDATE": "{timestamp} ✏ Thread {channelMention(newThread)} was edited. Changes:\n{differenceString}",
|
|
"ROLE_CREATE": "{timestamp} 🖊 Role **{role.name}** (`{role.id}`) was created",
|
|
"ROLE_DELETE": "{timestamp} 🖊 Role **{role.name}** (`{role.id}`) was deleted",
|
|
"ROLE_UPDATE": "{timestamp} 🖊 Role **{newRole.name}** (`{newRole.id}`) was edited. Changes:\n{differenceString}",
|
|
"MESSAGE_EDIT": "{timestamp} ✏ {userMention(user)} edited their message (`{after.id}`) in {channelMention(channel)}:\n**Before:**{messageSummary(before)}**After:**{messageSummary(after)}",
|
|
"MESSAGE_DELETE": "{timestamp} 🗑 Message (`{message.id}`) from {userMention(user)} deleted in {channelMention(channel)} (originally posted at **{messageDate}**):{messageSummary(message)}",
|
|
"MESSAGE_DELETE_BULK": "{timestamp} 🗑 **{count}** messages by {authorIds} deleted in {channelMention(channel)} ({archiveUrl})",
|
|
"MESSAGE_DELETE_BARE": "{timestamp} 🗑 Message (`{messageId}`) deleted in {channelMention(channel)} (no more info available)",
|
|
"MESSAGE_DELETE_AUTO": "{timestamp} 🗑 Auto-deleted message (`{message.id}`) from {userMention(user)} in {channelMention(channel)} (originally posted at **{messageDate}**):{messageSummary(message)}",
|
|
"VOICE_CHANNEL_JOIN": "{timestamp} 🎙 🔵 {userMention(member)} joined {channelMention(channel)}",
|
|
"VOICE_CHANNEL_MOVE": "{timestamp} 🎙 ↔ {userMention(member)} moved from {channelMention(oldChannel)} to {channelMention(newChannel)}",
|
|
"VOICE_CHANNEL_LEAVE": "{timestamp} 🎙 🔴 {userMention(member)} left {channelMention(channel)}",
|
|
"VOICE_CHANNEL_FORCE_MOVE": "{timestamp} 🎙 ✍ {userMention(member)} was moved from **{oldChannel.name}** to **{newChannel.name}** by {userMention(mod)}",
|
|
"VOICE_CHANNEL_FORCE_DISCONNECT": "{timestamp} 🎙 🚫 {userMention(member)} was forcefully disconnected from **{oldChannel.name}** by {userMention(mod)}",
|
|
"STAGE_INSTANCE_CREATE": "{timestamp} 📣 Stage Instance `{stageInstance.topic}` was created in Stage Channel <#{stageChannel.id}>",
|
|
"STAGE_INSTANCE_DELETE": "{timestamp} 📣 Stage Instance `{stageInstance.topic}` was deleted in Stage Channel <#{stageChannel.id}>",
|
|
"STAGE_INSTANCE_UPDATE": "{timestamp} 📣 Stage Instance `{newStageInstance.topic}` was edited in Stage Channel <#{stageChannel.id}>. Changes:\n{differenceString}",
|
|
"EMOJI_CREATE": "{timestamp} {emoji.mention} Emoji **{emoji.name}** (`{emoji.id}`) was created",
|
|
"EMOJI_DELETE": "{timestamp} 👋 Emoji **{emoji.name}** (`{emoji.id}`) was deleted",
|
|
"EMOJI_UPDATE": "{timestamp} {newEmoji.mention} Emoji **{newEmoji.name}** (`{newEmoji.id}`) was updated. Changes:\n{differenceString}",
|
|
"STICKER_CREATE": "{timestamp} 🖼️ Sticker `{sticker.name} ({sticker.id})` was created. Description: `{sticker.description}` Format: {emoji.format}",
|
|
"STICKER_DELETE": "{timestamp} 🖼️ Sticker `{sticker.name} ({sticker.id})` was deleted.",
|
|
"STICKER_UPDATE": "{timestamp} 🖼️ Sticker `{newSticker.name} ({sticker.id})` was updated. Changes:\n{differenceString}",
|
|
"COMMAND": "{timestamp} 🤖 {userMention(member)} used command in {channelMention(channel)}:\n`{command}`",
|
|
"MESSAGE_SPAM_DETECTED": "{timestamp} 🛑 {userMention(member)} spam detected in {channelMention(channel)}: {description} (more than {limit} in {interval}s)\n{archiveUrl}",
|
|
"OTHER_SPAM_DETECTED": "{timestamp} 🛑 {userMention(member)} spam detected: {description} (more than {limit} in {interval}s)",
|
|
"CENSOR": "{timestamp} 🛑 Censored message (`{message.id}`) from {userMention(user)} in {channelMention(channel)}: {reason}:\n```{messageText}```",
|
|
"CLEAN": "{timestamp} 🚿 {userMention(mod)} cleaned **{count}** message(s) in {channelMention(channel)}\n{archiveUrl}",
|
|
"CASE_CREATE": "{timestamp} ✏ {userMention(mod)} manually created new **{caseType}** case (#{caseNum})",
|
|
"CASE_DELETE": "{timestamp} ✂️ **Case #{case.case_number}** was deleted by {userMention(mod)}",
|
|
"MASSUNBAN": "{timestamp} ⚒ {userMention(mod)} mass-unbanned {count} users",
|
|
"MASSBAN": "{timestamp} ⚒ {userMention(mod)} massbanned {count} users",
|
|
"MASSMUTE": "{timestamp} 📢🚫 {userMention(mod)} massmuted {count} users",
|
|
"MEMBER_JOIN_WITH_PRIOR_RECORDS": "{timestamp} ⚠ {userMention(member)} joined with prior records. Recent cases:\n{recentCaseSummary}",
|
|
"CASE_UPDATE": "{timestamp} ✏ {userMention(mod)} updated case #{caseNumber} ({caseType}) with note:\n```{note}```",
|
|
"MEMBER_MUTE_REJOIN": "{timestamp} ⚠ Reapplied active mute for {userMention(member)} on rejoin",
|
|
"SCHEDULED_MESSAGE": "{timestamp} ⏰ {userMention(author)} scheduled a message to be posted to {channelMention(channel)} on {datetime}",
|
|
"SCHEDULED_REPEATED_MESSAGE": "{timestamp} ⏰ {userMention(author)} scheduled a message to be posted to {channelMention(channel)} on {datetime}, repeated {repeatDetails}",
|
|
"REPEATED_MESSAGE": "{timestamp} ⏰ {userMention(author)} scheduled a message to be posted to {channelMention(channel)} {repeatDetails}",
|
|
"POSTED_SCHEDULED_MESSAGE": "{timestamp} 📨 Posted scheduled message (`{messageId}`) to {channelMention(channel)} as scheduled by {userMention(author)}",
|
|
"BOT_ALERT": "{timestamp} ⚠ **BOT ALERT:** {tmplEval(body)}",
|
|
"DM_FAILED": "{timestamp} 🚧 Failed to send DM ({source}) to {userMention(user)}",
|
|
"AUTOMOD_ACTION": "{timestamp} 🤖 Automod rule **{if(not(prettyName), rule, prettyName)}** triggered by {userMention(users)}\n{matchSummary}\nActions taken: **{actionsTaken}**",
|
|
"SET_ANTIRAID_USER": "{timestamp} ⚔ {userMention(user)} set anti-raid to **{level}**",
|
|
"SET_ANTIRAID_AUTO": "{timestamp} ⚔ Anti-raid automatically set to **{level}**"
|
|
},
|
|
"type": "object",
|
|
"propertyNames": {
|
|
"enum": [
|
|
"MEMBER_WARN",
|
|
"MEMBER_MUTE",
|
|
"MEMBER_UNMUTE",
|
|
"MEMBER_MUTE_EXPIRED",
|
|
"MEMBER_KICK",
|
|
"MEMBER_BAN",
|
|
"MEMBER_UNBAN",
|
|
"MEMBER_FORCEBAN",
|
|
"MEMBER_SOFTBAN",
|
|
"MEMBER_JOIN",
|
|
"MEMBER_LEAVE",
|
|
"MEMBER_ROLE_ADD",
|
|
"MEMBER_ROLE_REMOVE",
|
|
"MEMBER_NICK_CHANGE",
|
|
"MEMBER_USERNAME_CHANGE",
|
|
"MEMBER_RESTORE",
|
|
"CHANNEL_CREATE",
|
|
"CHANNEL_DELETE",
|
|
"CHANNEL_UPDATE",
|
|
"THREAD_CREATE",
|
|
"THREAD_DELETE",
|
|
"THREAD_UPDATE",
|
|
"ROLE_CREATE",
|
|
"ROLE_DELETE",
|
|
"ROLE_UPDATE",
|
|
"MESSAGE_EDIT",
|
|
"MESSAGE_DELETE",
|
|
"MESSAGE_DELETE_BULK",
|
|
"MESSAGE_DELETE_BARE",
|
|
"VOICE_CHANNEL_JOIN",
|
|
"VOICE_CHANNEL_LEAVE",
|
|
"VOICE_CHANNEL_MOVE",
|
|
"STAGE_INSTANCE_CREATE",
|
|
"STAGE_INSTANCE_DELETE",
|
|
"STAGE_INSTANCE_UPDATE",
|
|
"EMOJI_CREATE",
|
|
"EMOJI_DELETE",
|
|
"EMOJI_UPDATE",
|
|
"STICKER_CREATE",
|
|
"STICKER_DELETE",
|
|
"STICKER_UPDATE",
|
|
"COMMAND",
|
|
"MESSAGE_SPAM_DETECTED",
|
|
"CENSOR",
|
|
"CLEAN",
|
|
"CASE_CREATE",
|
|
"MASSUNBAN",
|
|
"MASSBAN",
|
|
"MASSMUTE",
|
|
"MEMBER_TIMED_MUTE",
|
|
"MEMBER_TIMED_UNMUTE",
|
|
"MEMBER_TIMED_BAN",
|
|
"MEMBER_TIMED_UNBAN",
|
|
"MEMBER_JOIN_WITH_PRIOR_RECORDS",
|
|
"OTHER_SPAM_DETECTED",
|
|
"MEMBER_ROLE_CHANGES",
|
|
"VOICE_CHANNEL_FORCE_MOVE",
|
|
"VOICE_CHANNEL_FORCE_DISCONNECT",
|
|
"CASE_UPDATE",
|
|
"MEMBER_MUTE_REJOIN",
|
|
"SCHEDULED_MESSAGE",
|
|
"POSTED_SCHEDULED_MESSAGE",
|
|
"BOT_ALERT",
|
|
"AUTOMOD_ACTION",
|
|
"SCHEDULED_REPEATED_MESSAGE",
|
|
"REPEATED_MESSAGE",
|
|
"MESSAGE_DELETE_AUTO",
|
|
"SET_ANTIRAID_USER",
|
|
"SET_ANTIRAID_AUTO",
|
|
"MEMBER_NOTE",
|
|
"CASE_DELETE",
|
|
"DM_FAILED"
|
|
]
|
|
},
|
|
"additionalProperties": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"content": {
|
|
"type": "string"
|
|
},
|
|
"tts": {
|
|
"type": "boolean"
|
|
},
|
|
"embeds": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"title": {
|
|
"type": "string"
|
|
},
|
|
"description": {
|
|
"type": "string"
|
|
},
|
|
"url": {
|
|
"type": "string"
|
|
},
|
|
"timestamp": {
|
|
"type": "string"
|
|
},
|
|
"color": {
|
|
"type": "number"
|
|
},
|
|
"footer": {
|
|
"type": "object",
|
|
"properties": {
|
|
"text": {
|
|
"type": "string"
|
|
},
|
|
"icon_url": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": []
|
|
},
|
|
"image": {
|
|
"type": "object",
|
|
"properties": {
|
|
"url": {
|
|
"type": "string"
|
|
},
|
|
"width": {
|
|
"type": "number"
|
|
},
|
|
"height": {
|
|
"type": "number"
|
|
}
|
|
},
|
|
"required": []
|
|
},
|
|
"thumbnail": {
|
|
"type": "object",
|
|
"properties": {
|
|
"url": {
|
|
"type": "string"
|
|
},
|
|
"width": {
|
|
"type": "number"
|
|
},
|
|
"height": {
|
|
"type": "number"
|
|
}
|
|
},
|
|
"required": []
|
|
},
|
|
"video": {
|
|
"type": "object",
|
|
"properties": {
|
|
"url": {
|
|
"type": "string"
|
|
},
|
|
"width": {
|
|
"type": "number"
|
|
},
|
|
"height": {
|
|
"type": "number"
|
|
}
|
|
},
|
|
"required": []
|
|
},
|
|
"provider": {
|
|
"type": "object",
|
|
"properties": {
|
|
"name": {
|
|
"type": "string"
|
|
},
|
|
"url": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": []
|
|
},
|
|
"fields": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"name": {
|
|
"type": "string"
|
|
},
|
|
"value": {
|
|
"type": "string"
|
|
},
|
|
"inline": {
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": []
|
|
}
|
|
},
|
|
"author": {
|
|
"anyOf": [
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"name": {
|
|
"type": "string"
|
|
},
|
|
"url": {
|
|
"type": "string"
|
|
},
|
|
"width": {
|
|
"type": "number"
|
|
},
|
|
"height": {
|
|
"type": "number"
|
|
}
|
|
},
|
|
"required": []
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": []
|
|
}
|
|
}
|
|
},
|
|
"required": []
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"ping_user": {
|
|
"default": true,
|
|
"type": "boolean"
|
|
},
|
|
"allow_user_mentions": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"timestamp_format": {
|
|
"default": "[<t:]X[>]",
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"include_embed_timestamp": {
|
|
"default": true,
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
}
|
|
},
|
|
"required": [
|
|
"config"
|
|
],
|
|
"additionalProperties": false
|
|
}
|
|
}
|
|
},
|
|
"required": []
|
|
},
|
|
"message_saver": {
|
|
"type": "object",
|
|
"properties": {
|
|
"config": {
|
|
"type": "object",
|
|
"properties": {
|
|
"can_manage": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
"overrides": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"channel": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"category": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"level": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"user": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"role": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"thread": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"is_thread": {
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"thread_type": {
|
|
"anyOf": [
|
|
{
|
|
"enum": [
|
|
"public",
|
|
"private"
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"extra": {},
|
|
"zzz_dummy_property_do_not_use": {},
|
|
"all": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/$defs/__schema1"
|
|
}
|
|
},
|
|
"any": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/$defs/__schema1"
|
|
}
|
|
},
|
|
"not": {
|
|
"$ref": "#/$defs/__schema1"
|
|
},
|
|
"config": {
|
|
"type": "object",
|
|
"properties": {
|
|
"can_manage": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
}
|
|
},
|
|
"required": [
|
|
"config"
|
|
],
|
|
"additionalProperties": false
|
|
}
|
|
}
|
|
},
|
|
"required": []
|
|
},
|
|
"mod_actions": {
|
|
"type": "object",
|
|
"properties": {
|
|
"config": {
|
|
"type": "object",
|
|
"properties": {
|
|
"dm_on_warn": {
|
|
"default": true,
|
|
"type": "boolean"
|
|
},
|
|
"dm_on_kick": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"dm_on_ban": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"message_on_warn": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"message_on_kick": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"message_on_ban": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"message_channel": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"warn_message": {
|
|
"default": "You have received a warning on the {guildName} server: {reason}",
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"kick_message": {
|
|
"default": "You have been kicked from the {guildName} server. Reason given: {reason}",
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"ban_message": {
|
|
"default": "You have been banned from the {guildName} server. Reason given: {reason}",
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"tempban_message": {
|
|
"default": "You have been banned from the {guildName} server for {banTime}. Reason given: {reason}",
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"alert_on_rejoin": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"alert_channel": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"warn_notify_enabled": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"warn_notify_threshold": {
|
|
"default": 5,
|
|
"type": "number"
|
|
},
|
|
"warn_notify_message": {
|
|
"default": "The user already has **{priorWarnings}** warnings!\n Please check their prior cases and assess whether or not to warn anyways.\n Proceed with the warning?",
|
|
"type": "string"
|
|
},
|
|
"ban_delete_message_days": {
|
|
"default": 1,
|
|
"type": "number"
|
|
},
|
|
"attachment_link_reaction": {
|
|
"default": "warn",
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"const": "none"
|
|
},
|
|
{
|
|
"const": "warn"
|
|
},
|
|
{
|
|
"const": "restrict"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"can_note": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"can_warn": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"can_mute": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"can_kick": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"can_ban": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"can_unban": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"can_view": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"can_addcase": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"can_massunban": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"can_massban": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"can_massmute": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"can_hidecase": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"can_deletecase": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"can_act_as_other": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"create_cases_for_manual_actions": {
|
|
"default": true,
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
"overrides": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"channel": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"category": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"level": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"user": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"role": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"thread": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"is_thread": {
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"thread_type": {
|
|
"anyOf": [
|
|
{
|
|
"enum": [
|
|
"public",
|
|
"private"
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"extra": {},
|
|
"zzz_dummy_property_do_not_use": {},
|
|
"all": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/$defs/__schema1"
|
|
}
|
|
},
|
|
"any": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/$defs/__schema1"
|
|
}
|
|
},
|
|
"not": {
|
|
"$ref": "#/$defs/__schema1"
|
|
},
|
|
"config": {
|
|
"type": "object",
|
|
"properties": {
|
|
"dm_on_warn": {
|
|
"default": true,
|
|
"type": "boolean"
|
|
},
|
|
"dm_on_kick": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"dm_on_ban": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"message_on_warn": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"message_on_kick": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"message_on_ban": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"message_channel": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"warn_message": {
|
|
"default": "You have received a warning on the {guildName} server: {reason}",
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"kick_message": {
|
|
"default": "You have been kicked from the {guildName} server. Reason given: {reason}",
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"ban_message": {
|
|
"default": "You have been banned from the {guildName} server. Reason given: {reason}",
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"tempban_message": {
|
|
"default": "You have been banned from the {guildName} server for {banTime}. Reason given: {reason}",
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"alert_on_rejoin": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"alert_channel": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"warn_notify_enabled": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"warn_notify_threshold": {
|
|
"default": 5,
|
|
"type": "number"
|
|
},
|
|
"warn_notify_message": {
|
|
"default": "The user already has **{priorWarnings}** warnings!\n Please check their prior cases and assess whether or not to warn anyways.\n Proceed with the warning?",
|
|
"type": "string"
|
|
},
|
|
"ban_delete_message_days": {
|
|
"default": 1,
|
|
"type": "number"
|
|
},
|
|
"attachment_link_reaction": {
|
|
"default": "warn",
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"const": "none"
|
|
},
|
|
{
|
|
"const": "warn"
|
|
},
|
|
{
|
|
"const": "restrict"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"can_note": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"can_warn": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"can_mute": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"can_kick": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"can_ban": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"can_unban": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"can_view": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"can_addcase": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"can_massunban": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"can_massban": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"can_massmute": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"can_hidecase": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"can_deletecase": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"can_act_as_other": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"create_cases_for_manual_actions": {
|
|
"default": true,
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
}
|
|
},
|
|
"required": [
|
|
"config"
|
|
],
|
|
"additionalProperties": false
|
|
}
|
|
}
|
|
},
|
|
"required": []
|
|
},
|
|
"mutes": {
|
|
"type": "object",
|
|
"properties": {
|
|
"config": {
|
|
"type": "object",
|
|
"properties": {
|
|
"mute_role": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"move_to_voice_channel": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"kick_from_voice_channel": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"dm_on_mute": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"dm_on_update": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"message_on_mute": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"message_on_update": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"message_channel": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"mute_message": {
|
|
"default": "You have been muted on the {guildName} server. Reason given: {reason}",
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"timed_mute_message": {
|
|
"default": "You have been muted on the {guildName} server for {time}. Reason given: {reason}",
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"update_mute_message": {
|
|
"default": "Your mute on the {guildName} server has been updated to {time}.",
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"remove_roles_on_mute": {
|
|
"default": false,
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"restore_roles_on_mute": {
|
|
"default": false,
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"can_view_list": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"can_cleanup": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
"overrides": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"channel": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"category": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"level": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"user": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"role": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"thread": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"is_thread": {
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"thread_type": {
|
|
"anyOf": [
|
|
{
|
|
"enum": [
|
|
"public",
|
|
"private"
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"extra": {},
|
|
"zzz_dummy_property_do_not_use": {},
|
|
"all": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/$defs/__schema1"
|
|
}
|
|
},
|
|
"any": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/$defs/__schema1"
|
|
}
|
|
},
|
|
"not": {
|
|
"$ref": "#/$defs/__schema1"
|
|
},
|
|
"config": {
|
|
"type": "object",
|
|
"properties": {
|
|
"mute_role": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"move_to_voice_channel": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"kick_from_voice_channel": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"dm_on_mute": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"dm_on_update": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"message_on_mute": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"message_on_update": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"message_channel": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"mute_message": {
|
|
"default": "You have been muted on the {guildName} server. Reason given: {reason}",
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"timed_mute_message": {
|
|
"default": "You have been muted on the {guildName} server for {time}. Reason given: {reason}",
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"update_mute_message": {
|
|
"default": "Your mute on the {guildName} server has been updated to {time}.",
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"remove_roles_on_mute": {
|
|
"default": false,
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"restore_roles_on_mute": {
|
|
"default": false,
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"can_view_list": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"can_cleanup": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
}
|
|
},
|
|
"required": [
|
|
"config"
|
|
],
|
|
"additionalProperties": false
|
|
}
|
|
}
|
|
},
|
|
"required": []
|
|
},
|
|
"name_history": {
|
|
"type": "object",
|
|
"properties": {
|
|
"config": {
|
|
"type": "object",
|
|
"properties": {
|
|
"can_view": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
"overrides": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"channel": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"category": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"level": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"user": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"role": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"thread": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"is_thread": {
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"thread_type": {
|
|
"anyOf": [
|
|
{
|
|
"enum": [
|
|
"public",
|
|
"private"
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"extra": {},
|
|
"zzz_dummy_property_do_not_use": {},
|
|
"all": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/$defs/__schema1"
|
|
}
|
|
},
|
|
"any": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/$defs/__schema1"
|
|
}
|
|
},
|
|
"not": {
|
|
"$ref": "#/$defs/__schema1"
|
|
},
|
|
"config": {
|
|
"type": "object",
|
|
"properties": {
|
|
"can_view": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
}
|
|
},
|
|
"required": [
|
|
"config"
|
|
],
|
|
"additionalProperties": false
|
|
}
|
|
}
|
|
},
|
|
"required": []
|
|
},
|
|
"persist": {
|
|
"type": "object",
|
|
"properties": {
|
|
"config": {
|
|
"type": "object",
|
|
"properties": {
|
|
"persisted_roles": {
|
|
"default": [],
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"persist_nicknames": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"persist_voice_mutes": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
"overrides": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"channel": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"category": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"level": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"user": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"role": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"thread": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"is_thread": {
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"thread_type": {
|
|
"anyOf": [
|
|
{
|
|
"enum": [
|
|
"public",
|
|
"private"
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"extra": {},
|
|
"zzz_dummy_property_do_not_use": {},
|
|
"all": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/$defs/__schema1"
|
|
}
|
|
},
|
|
"any": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/$defs/__schema1"
|
|
}
|
|
},
|
|
"not": {
|
|
"$ref": "#/$defs/__schema1"
|
|
},
|
|
"config": {
|
|
"type": "object",
|
|
"properties": {
|
|
"persisted_roles": {
|
|
"default": [],
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"persist_nicknames": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"persist_voice_mutes": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
}
|
|
},
|
|
"required": [
|
|
"config"
|
|
],
|
|
"additionalProperties": false
|
|
}
|
|
}
|
|
},
|
|
"required": []
|
|
},
|
|
"phisherman": {
|
|
"type": "object",
|
|
"properties": {
|
|
"config": {
|
|
"type": "object",
|
|
"properties": {
|
|
"api_key": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "string",
|
|
"maxLength": 255
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
"overrides": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"channel": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"category": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"level": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"user": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"role": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"thread": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"is_thread": {
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"thread_type": {
|
|
"anyOf": [
|
|
{
|
|
"enum": [
|
|
"public",
|
|
"private"
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"extra": {},
|
|
"zzz_dummy_property_do_not_use": {},
|
|
"all": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/$defs/__schema1"
|
|
}
|
|
},
|
|
"any": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/$defs/__schema1"
|
|
}
|
|
},
|
|
"not": {
|
|
"$ref": "#/$defs/__schema1"
|
|
},
|
|
"config": {
|
|
"type": "object",
|
|
"properties": {
|
|
"api_key": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "string",
|
|
"maxLength": 255
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
}
|
|
},
|
|
"required": [
|
|
"config"
|
|
],
|
|
"additionalProperties": false
|
|
}
|
|
}
|
|
},
|
|
"required": []
|
|
},
|
|
"pingable_roles": {
|
|
"type": "object",
|
|
"properties": {
|
|
"config": {
|
|
"type": "object",
|
|
"properties": {
|
|
"can_manage": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
"overrides": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"channel": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"category": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"level": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"user": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"role": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"thread": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"is_thread": {
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"thread_type": {
|
|
"anyOf": [
|
|
{
|
|
"enum": [
|
|
"public",
|
|
"private"
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"extra": {},
|
|
"zzz_dummy_property_do_not_use": {},
|
|
"all": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/$defs/__schema1"
|
|
}
|
|
},
|
|
"any": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/$defs/__schema1"
|
|
}
|
|
},
|
|
"not": {
|
|
"$ref": "#/$defs/__schema1"
|
|
},
|
|
"config": {
|
|
"type": "object",
|
|
"properties": {
|
|
"can_manage": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
}
|
|
},
|
|
"required": [
|
|
"config"
|
|
],
|
|
"additionalProperties": false
|
|
}
|
|
}
|
|
},
|
|
"required": []
|
|
},
|
|
"post": {
|
|
"type": "object",
|
|
"properties": {
|
|
"config": {
|
|
"type": "object",
|
|
"properties": {
|
|
"can_post": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
"overrides": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"channel": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"category": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"level": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"user": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"role": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"thread": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"is_thread": {
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"thread_type": {
|
|
"anyOf": [
|
|
{
|
|
"enum": [
|
|
"public",
|
|
"private"
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"extra": {},
|
|
"zzz_dummy_property_do_not_use": {},
|
|
"all": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/$defs/__schema1"
|
|
}
|
|
},
|
|
"any": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/$defs/__schema1"
|
|
}
|
|
},
|
|
"not": {
|
|
"$ref": "#/$defs/__schema1"
|
|
},
|
|
"config": {
|
|
"type": "object",
|
|
"properties": {
|
|
"can_post": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
}
|
|
},
|
|
"required": [
|
|
"config"
|
|
],
|
|
"additionalProperties": false
|
|
}
|
|
}
|
|
},
|
|
"required": []
|
|
},
|
|
"reaction_roles": {
|
|
"type": "object",
|
|
"properties": {
|
|
"config": {
|
|
"type": "object",
|
|
"properties": {
|
|
"auto_refresh_interval": {
|
|
"default": 900000,
|
|
"type": "number",
|
|
"minimum": 900000
|
|
},
|
|
"remove_user_reactions": {
|
|
"default": true,
|
|
"type": "boolean"
|
|
},
|
|
"can_manage": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"button_groups": {
|
|
"default": null,
|
|
"type": "null"
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
"overrides": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"channel": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"category": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"level": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"user": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"role": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"thread": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"is_thread": {
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"thread_type": {
|
|
"anyOf": [
|
|
{
|
|
"enum": [
|
|
"public",
|
|
"private"
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"extra": {},
|
|
"zzz_dummy_property_do_not_use": {},
|
|
"all": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/$defs/__schema1"
|
|
}
|
|
},
|
|
"any": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/$defs/__schema1"
|
|
}
|
|
},
|
|
"not": {
|
|
"$ref": "#/$defs/__schema1"
|
|
},
|
|
"config": {
|
|
"type": "object",
|
|
"properties": {
|
|
"auto_refresh_interval": {
|
|
"default": 900000,
|
|
"type": "number",
|
|
"minimum": 900000
|
|
},
|
|
"remove_user_reactions": {
|
|
"default": true,
|
|
"type": "boolean"
|
|
},
|
|
"can_manage": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"button_groups": {
|
|
"default": null,
|
|
"type": "null"
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
}
|
|
},
|
|
"required": [
|
|
"config"
|
|
],
|
|
"additionalProperties": false
|
|
}
|
|
}
|
|
},
|
|
"required": []
|
|
},
|
|
"reminders": {
|
|
"type": "object",
|
|
"properties": {
|
|
"config": {
|
|
"type": "object",
|
|
"properties": {
|
|
"can_use": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
"overrides": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"channel": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"category": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"level": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"user": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"role": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"thread": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"is_thread": {
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"thread_type": {
|
|
"anyOf": [
|
|
{
|
|
"enum": [
|
|
"public",
|
|
"private"
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"extra": {},
|
|
"zzz_dummy_property_do_not_use": {},
|
|
"all": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/$defs/__schema1"
|
|
}
|
|
},
|
|
"any": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/$defs/__schema1"
|
|
}
|
|
},
|
|
"not": {
|
|
"$ref": "#/$defs/__schema1"
|
|
},
|
|
"config": {
|
|
"type": "object",
|
|
"properties": {
|
|
"can_use": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
}
|
|
},
|
|
"required": [
|
|
"config"
|
|
],
|
|
"additionalProperties": false
|
|
}
|
|
}
|
|
},
|
|
"required": []
|
|
},
|
|
"role_buttons": {
|
|
"type": "object",
|
|
"properties": {
|
|
"config": {
|
|
"type": "object",
|
|
"properties": {
|
|
"buttons": {
|
|
"default": {},
|
|
"type": "object",
|
|
"propertyNames": {
|
|
"type": "string"
|
|
},
|
|
"additionalProperties": {
|
|
"type": "object",
|
|
"properties": {
|
|
"message": {
|
|
"anyOf": [
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"channel_id": {
|
|
"type": "string"
|
|
},
|
|
"message_id": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"channel_id",
|
|
"message_id"
|
|
],
|
|
"additionalProperties": false
|
|
},
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"channel_id": {
|
|
"type": "string"
|
|
},
|
|
"content": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"content": {
|
|
"type": "string"
|
|
},
|
|
"tts": {
|
|
"type": "boolean"
|
|
},
|
|
"embeds": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"title": {
|
|
"type": "string"
|
|
},
|
|
"description": {
|
|
"type": "string"
|
|
},
|
|
"url": {
|
|
"type": "string"
|
|
},
|
|
"timestamp": {
|
|
"type": "string"
|
|
},
|
|
"color": {
|
|
"type": "number"
|
|
},
|
|
"footer": {
|
|
"type": "object",
|
|
"properties": {
|
|
"text": {
|
|
"type": "string"
|
|
},
|
|
"icon_url": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"text"
|
|
]
|
|
},
|
|
"image": {
|
|
"type": "object",
|
|
"properties": {
|
|
"url": {
|
|
"type": "string"
|
|
},
|
|
"width": {
|
|
"type": "number"
|
|
},
|
|
"height": {
|
|
"type": "number"
|
|
}
|
|
},
|
|
"required": []
|
|
},
|
|
"thumbnail": {
|
|
"type": "object",
|
|
"properties": {
|
|
"url": {
|
|
"type": "string"
|
|
},
|
|
"width": {
|
|
"type": "number"
|
|
},
|
|
"height": {
|
|
"type": "number"
|
|
}
|
|
},
|
|
"required": []
|
|
},
|
|
"video": {
|
|
"type": "object",
|
|
"properties": {
|
|
"url": {
|
|
"type": "string"
|
|
},
|
|
"width": {
|
|
"type": "number"
|
|
},
|
|
"height": {
|
|
"type": "number"
|
|
}
|
|
},
|
|
"required": []
|
|
},
|
|
"provider": {
|
|
"type": "object",
|
|
"properties": {
|
|
"name": {
|
|
"type": "string"
|
|
},
|
|
"url": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"name"
|
|
]
|
|
},
|
|
"fields": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"name": {
|
|
"type": "string"
|
|
},
|
|
"value": {
|
|
"type": "string"
|
|
},
|
|
"inline": {
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": []
|
|
}
|
|
},
|
|
"author": {
|
|
"anyOf": [
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"name": {
|
|
"type": "string"
|
|
},
|
|
"url": {
|
|
"type": "string"
|
|
},
|
|
"width": {
|
|
"type": "number"
|
|
},
|
|
"height": {
|
|
"type": "number"
|
|
}
|
|
},
|
|
"required": [
|
|
"name"
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": []
|
|
}
|
|
}
|
|
},
|
|
"required": []
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"channel_id",
|
|
"content"
|
|
],
|
|
"additionalProperties": false
|
|
}
|
|
]
|
|
},
|
|
"options": {
|
|
"maxItems": 25,
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"role_id": {
|
|
"type": "string"
|
|
},
|
|
"label": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"emoji": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"style": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"const": 1
|
|
},
|
|
{
|
|
"const": 2
|
|
},
|
|
{
|
|
"const": 3
|
|
},
|
|
{
|
|
"const": 4
|
|
},
|
|
{
|
|
"const": "PRIMARY"
|
|
},
|
|
{
|
|
"const": "SECONDARY"
|
|
},
|
|
{
|
|
"const": "SUCCESS"
|
|
},
|
|
{
|
|
"const": "DANGER"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"start_new_row": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [
|
|
"role_id"
|
|
],
|
|
"additionalProperties": false
|
|
}
|
|
},
|
|
"exclusive": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [
|
|
"message",
|
|
"options"
|
|
],
|
|
"additionalProperties": false
|
|
}
|
|
},
|
|
"can_reset": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
"overrides": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"channel": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"category": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"level": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"user": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"role": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"thread": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"is_thread": {
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"thread_type": {
|
|
"anyOf": [
|
|
{
|
|
"enum": [
|
|
"public",
|
|
"private"
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"extra": {},
|
|
"zzz_dummy_property_do_not_use": {},
|
|
"all": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/$defs/__schema1"
|
|
}
|
|
},
|
|
"any": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/$defs/__schema1"
|
|
}
|
|
},
|
|
"not": {
|
|
"$ref": "#/$defs/__schema1"
|
|
},
|
|
"config": {
|
|
"type": "object",
|
|
"properties": {
|
|
"buttons": {
|
|
"default": {},
|
|
"type": "object",
|
|
"propertyNames": {
|
|
"type": "string"
|
|
},
|
|
"additionalProperties": {
|
|
"type": "object",
|
|
"properties": {
|
|
"message": {
|
|
"anyOf": [
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"channel_id": {
|
|
"type": "string"
|
|
},
|
|
"message_id": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"channel_id": {
|
|
"type": "string"
|
|
},
|
|
"content": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"content": {
|
|
"type": "string"
|
|
},
|
|
"tts": {
|
|
"type": "boolean"
|
|
},
|
|
"embeds": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"title": {
|
|
"type": "string"
|
|
},
|
|
"description": {
|
|
"type": "string"
|
|
},
|
|
"url": {
|
|
"type": "string"
|
|
},
|
|
"timestamp": {
|
|
"type": "string"
|
|
},
|
|
"color": {
|
|
"type": "number"
|
|
},
|
|
"footer": {
|
|
"type": "object",
|
|
"properties": {
|
|
"text": {
|
|
"type": "string"
|
|
},
|
|
"icon_url": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": []
|
|
},
|
|
"image": {
|
|
"type": "object",
|
|
"properties": {
|
|
"url": {
|
|
"type": "string"
|
|
},
|
|
"width": {
|
|
"type": "number"
|
|
},
|
|
"height": {
|
|
"type": "number"
|
|
}
|
|
},
|
|
"required": []
|
|
},
|
|
"thumbnail": {
|
|
"type": "object",
|
|
"properties": {
|
|
"url": {
|
|
"type": "string"
|
|
},
|
|
"width": {
|
|
"type": "number"
|
|
},
|
|
"height": {
|
|
"type": "number"
|
|
}
|
|
},
|
|
"required": []
|
|
},
|
|
"video": {
|
|
"type": "object",
|
|
"properties": {
|
|
"url": {
|
|
"type": "string"
|
|
},
|
|
"width": {
|
|
"type": "number"
|
|
},
|
|
"height": {
|
|
"type": "number"
|
|
}
|
|
},
|
|
"required": []
|
|
},
|
|
"provider": {
|
|
"type": "object",
|
|
"properties": {
|
|
"name": {
|
|
"type": "string"
|
|
},
|
|
"url": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": []
|
|
},
|
|
"fields": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"name": {
|
|
"type": "string"
|
|
},
|
|
"value": {
|
|
"type": "string"
|
|
},
|
|
"inline": {
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": []
|
|
}
|
|
},
|
|
"author": {
|
|
"anyOf": [
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"name": {
|
|
"type": "string"
|
|
},
|
|
"url": {
|
|
"type": "string"
|
|
},
|
|
"width": {
|
|
"type": "number"
|
|
},
|
|
"height": {
|
|
"type": "number"
|
|
}
|
|
},
|
|
"required": []
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": []
|
|
}
|
|
}
|
|
},
|
|
"required": []
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
}
|
|
]
|
|
},
|
|
"options": {
|
|
"maxItems": 25,
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"role_id": {
|
|
"type": "string"
|
|
},
|
|
"label": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"emoji": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"style": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"const": 1
|
|
},
|
|
{
|
|
"const": 2
|
|
},
|
|
{
|
|
"const": 3
|
|
},
|
|
{
|
|
"const": 4
|
|
},
|
|
{
|
|
"const": "PRIMARY"
|
|
},
|
|
{
|
|
"const": "SECONDARY"
|
|
},
|
|
{
|
|
"const": "SUCCESS"
|
|
},
|
|
{
|
|
"const": "DANGER"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"start_new_row": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
}
|
|
},
|
|
"exclusive": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
}
|
|
},
|
|
"can_reset": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
}
|
|
},
|
|
"required": [
|
|
"config"
|
|
],
|
|
"additionalProperties": false
|
|
}
|
|
}
|
|
},
|
|
"required": []
|
|
},
|
|
"role_manager": {
|
|
"type": "object",
|
|
"properties": {
|
|
"config": {
|
|
"type": "object",
|
|
"properties": {},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
"overrides": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"channel": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"category": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"level": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"user": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"role": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"thread": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"is_thread": {
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"thread_type": {
|
|
"anyOf": [
|
|
{
|
|
"enum": [
|
|
"public",
|
|
"private"
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"extra": {},
|
|
"zzz_dummy_property_do_not_use": {},
|
|
"all": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/$defs/__schema1"
|
|
}
|
|
},
|
|
"any": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/$defs/__schema1"
|
|
}
|
|
},
|
|
"not": {
|
|
"$ref": "#/$defs/__schema1"
|
|
},
|
|
"config": {
|
|
"type": "object",
|
|
"properties": {},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
}
|
|
},
|
|
"required": [
|
|
"config"
|
|
],
|
|
"additionalProperties": false
|
|
}
|
|
}
|
|
},
|
|
"required": []
|
|
},
|
|
"roles": {
|
|
"type": "object",
|
|
"properties": {
|
|
"config": {
|
|
"type": "object",
|
|
"properties": {
|
|
"can_assign": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"can_mass_assign": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"assignable_roles": {
|
|
"default": [],
|
|
"maxItems": 100,
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
"overrides": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"channel": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"category": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"level": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"user": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"role": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"thread": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"is_thread": {
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"thread_type": {
|
|
"anyOf": [
|
|
{
|
|
"enum": [
|
|
"public",
|
|
"private"
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"extra": {},
|
|
"zzz_dummy_property_do_not_use": {},
|
|
"all": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/$defs/__schema1"
|
|
}
|
|
},
|
|
"any": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/$defs/__schema1"
|
|
}
|
|
},
|
|
"not": {
|
|
"$ref": "#/$defs/__schema1"
|
|
},
|
|
"config": {
|
|
"type": "object",
|
|
"properties": {
|
|
"can_assign": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"can_mass_assign": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"assignable_roles": {
|
|
"default": [],
|
|
"maxItems": 100,
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
}
|
|
},
|
|
"required": [
|
|
"config"
|
|
],
|
|
"additionalProperties": false
|
|
}
|
|
}
|
|
},
|
|
"required": []
|
|
},
|
|
"self_grantable_roles": {
|
|
"type": "object",
|
|
"properties": {
|
|
"config": {
|
|
"type": "object",
|
|
"properties": {
|
|
"entries": {
|
|
"default": {},
|
|
"type": "object",
|
|
"propertyNames": {
|
|
"type": "string"
|
|
},
|
|
"additionalProperties": {
|
|
"type": "object",
|
|
"properties": {
|
|
"roles": {
|
|
"type": "object",
|
|
"propertyNames": {
|
|
"type": "string"
|
|
},
|
|
"additionalProperties": {
|
|
"maxItems": 100,
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"can_use": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"can_ignore_cooldown": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"max_roles": {
|
|
"default": 0,
|
|
"type": "number"
|
|
}
|
|
},
|
|
"required": [
|
|
"roles"
|
|
],
|
|
"additionalProperties": false
|
|
}
|
|
},
|
|
"mention_roles": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
"overrides": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"channel": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"category": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"level": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"user": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"role": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"thread": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"is_thread": {
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"thread_type": {
|
|
"anyOf": [
|
|
{
|
|
"enum": [
|
|
"public",
|
|
"private"
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"extra": {},
|
|
"zzz_dummy_property_do_not_use": {},
|
|
"all": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/$defs/__schema1"
|
|
}
|
|
},
|
|
"any": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/$defs/__schema1"
|
|
}
|
|
},
|
|
"not": {
|
|
"$ref": "#/$defs/__schema1"
|
|
},
|
|
"config": {
|
|
"type": "object",
|
|
"properties": {
|
|
"entries": {
|
|
"default": {},
|
|
"type": "object",
|
|
"propertyNames": {
|
|
"type": "string"
|
|
},
|
|
"additionalProperties": {
|
|
"type": "object",
|
|
"properties": {
|
|
"roles": {
|
|
"type": "object",
|
|
"propertyNames": {
|
|
"type": "string"
|
|
},
|
|
"additionalProperties": {
|
|
"maxItems": 100,
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"can_use": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"can_ignore_cooldown": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"max_roles": {
|
|
"default": 0,
|
|
"type": "number"
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
}
|
|
},
|
|
"mention_roles": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
}
|
|
},
|
|
"required": [
|
|
"config"
|
|
],
|
|
"additionalProperties": false
|
|
}
|
|
}
|
|
},
|
|
"required": []
|
|
},
|
|
"slowmode": {
|
|
"type": "object",
|
|
"properties": {
|
|
"config": {
|
|
"type": "object",
|
|
"properties": {
|
|
"use_native_slowmode": {
|
|
"default": true,
|
|
"type": "boolean"
|
|
},
|
|
"can_manage": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"is_affected": {
|
|
"default": true,
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
"overrides": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"channel": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"category": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"level": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"user": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"role": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"thread": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"is_thread": {
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"thread_type": {
|
|
"anyOf": [
|
|
{
|
|
"enum": [
|
|
"public",
|
|
"private"
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"extra": {},
|
|
"zzz_dummy_property_do_not_use": {},
|
|
"all": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/$defs/__schema1"
|
|
}
|
|
},
|
|
"any": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/$defs/__schema1"
|
|
}
|
|
},
|
|
"not": {
|
|
"$ref": "#/$defs/__schema1"
|
|
},
|
|
"config": {
|
|
"type": "object",
|
|
"properties": {
|
|
"use_native_slowmode": {
|
|
"default": true,
|
|
"type": "boolean"
|
|
},
|
|
"can_manage": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"is_affected": {
|
|
"default": true,
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
}
|
|
},
|
|
"required": [
|
|
"config"
|
|
],
|
|
"additionalProperties": false
|
|
}
|
|
}
|
|
},
|
|
"required": []
|
|
},
|
|
"spam": {
|
|
"type": "object",
|
|
"properties": {
|
|
"config": {
|
|
"type": "object",
|
|
"properties": {
|
|
"max_censor": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"interval": {
|
|
"type": "number"
|
|
},
|
|
"count": {
|
|
"type": "number"
|
|
},
|
|
"mute": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"mute_time": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "number"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"remove_roles_on_mute": {
|
|
"default": false,
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"restore_roles_on_mute": {
|
|
"default": false,
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"clean": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [
|
|
"interval",
|
|
"count"
|
|
],
|
|
"additionalProperties": false
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"max_messages": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"interval": {
|
|
"type": "number"
|
|
},
|
|
"count": {
|
|
"type": "number"
|
|
},
|
|
"mute": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"mute_time": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "number"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"remove_roles_on_mute": {
|
|
"default": false,
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"restore_roles_on_mute": {
|
|
"default": false,
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"clean": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [
|
|
"interval",
|
|
"count"
|
|
],
|
|
"additionalProperties": false
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"max_mentions": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"interval": {
|
|
"type": "number"
|
|
},
|
|
"count": {
|
|
"type": "number"
|
|
},
|
|
"mute": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"mute_time": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "number"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"remove_roles_on_mute": {
|
|
"default": false,
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"restore_roles_on_mute": {
|
|
"default": false,
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"clean": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [
|
|
"interval",
|
|
"count"
|
|
],
|
|
"additionalProperties": false
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"max_links": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"interval": {
|
|
"type": "number"
|
|
},
|
|
"count": {
|
|
"type": "number"
|
|
},
|
|
"mute": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"mute_time": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "number"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"remove_roles_on_mute": {
|
|
"default": false,
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"restore_roles_on_mute": {
|
|
"default": false,
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"clean": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [
|
|
"interval",
|
|
"count"
|
|
],
|
|
"additionalProperties": false
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"max_attachments": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"interval": {
|
|
"type": "number"
|
|
},
|
|
"count": {
|
|
"type": "number"
|
|
},
|
|
"mute": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"mute_time": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "number"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"remove_roles_on_mute": {
|
|
"default": false,
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"restore_roles_on_mute": {
|
|
"default": false,
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"clean": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [
|
|
"interval",
|
|
"count"
|
|
],
|
|
"additionalProperties": false
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"max_emojis": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"interval": {
|
|
"type": "number"
|
|
},
|
|
"count": {
|
|
"type": "number"
|
|
},
|
|
"mute": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"mute_time": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "number"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"remove_roles_on_mute": {
|
|
"default": false,
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"restore_roles_on_mute": {
|
|
"default": false,
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"clean": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [
|
|
"interval",
|
|
"count"
|
|
],
|
|
"additionalProperties": false
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"max_newlines": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"interval": {
|
|
"type": "number"
|
|
},
|
|
"count": {
|
|
"type": "number"
|
|
},
|
|
"mute": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"mute_time": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "number"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"remove_roles_on_mute": {
|
|
"default": false,
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"restore_roles_on_mute": {
|
|
"default": false,
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"clean": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [
|
|
"interval",
|
|
"count"
|
|
],
|
|
"additionalProperties": false
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"max_duplicates": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"interval": {
|
|
"type": "number"
|
|
},
|
|
"count": {
|
|
"type": "number"
|
|
},
|
|
"mute": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"mute_time": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "number"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"remove_roles_on_mute": {
|
|
"default": false,
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"restore_roles_on_mute": {
|
|
"default": false,
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"clean": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [
|
|
"interval",
|
|
"count"
|
|
],
|
|
"additionalProperties": false
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"max_characters": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"interval": {
|
|
"type": "number"
|
|
},
|
|
"count": {
|
|
"type": "number"
|
|
},
|
|
"mute": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"mute_time": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "number"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"remove_roles_on_mute": {
|
|
"default": false,
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"restore_roles_on_mute": {
|
|
"default": false,
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"clean": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [
|
|
"interval",
|
|
"count"
|
|
],
|
|
"additionalProperties": false
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"max_voice_moves": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"interval": {
|
|
"type": "number"
|
|
},
|
|
"count": {
|
|
"type": "number"
|
|
},
|
|
"mute": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"mute_time": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "number"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"remove_roles_on_mute": {
|
|
"default": false,
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"restore_roles_on_mute": {
|
|
"default": false,
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"clean": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [
|
|
"interval",
|
|
"count"
|
|
],
|
|
"additionalProperties": false
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
"overrides": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"channel": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"category": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"level": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"user": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"role": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"thread": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"is_thread": {
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"thread_type": {
|
|
"anyOf": [
|
|
{
|
|
"enum": [
|
|
"public",
|
|
"private"
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"extra": {},
|
|
"zzz_dummy_property_do_not_use": {},
|
|
"all": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/$defs/__schema1"
|
|
}
|
|
},
|
|
"any": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/$defs/__schema1"
|
|
}
|
|
},
|
|
"not": {
|
|
"$ref": "#/$defs/__schema1"
|
|
},
|
|
"config": {
|
|
"type": "object",
|
|
"properties": {
|
|
"max_censor": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"interval": {
|
|
"type": "number"
|
|
},
|
|
"count": {
|
|
"type": "number"
|
|
},
|
|
"mute": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"mute_time": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "number"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"remove_roles_on_mute": {
|
|
"default": false,
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"restore_roles_on_mute": {
|
|
"default": false,
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"clean": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"max_messages": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"interval": {
|
|
"type": "number"
|
|
},
|
|
"count": {
|
|
"type": "number"
|
|
},
|
|
"mute": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"mute_time": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "number"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"remove_roles_on_mute": {
|
|
"default": false,
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"restore_roles_on_mute": {
|
|
"default": false,
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"clean": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"max_mentions": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"interval": {
|
|
"type": "number"
|
|
},
|
|
"count": {
|
|
"type": "number"
|
|
},
|
|
"mute": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"mute_time": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "number"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"remove_roles_on_mute": {
|
|
"default": false,
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"restore_roles_on_mute": {
|
|
"default": false,
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"clean": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"max_links": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"interval": {
|
|
"type": "number"
|
|
},
|
|
"count": {
|
|
"type": "number"
|
|
},
|
|
"mute": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"mute_time": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "number"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"remove_roles_on_mute": {
|
|
"default": false,
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"restore_roles_on_mute": {
|
|
"default": false,
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"clean": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"max_attachments": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"interval": {
|
|
"type": "number"
|
|
},
|
|
"count": {
|
|
"type": "number"
|
|
},
|
|
"mute": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"mute_time": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "number"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"remove_roles_on_mute": {
|
|
"default": false,
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"restore_roles_on_mute": {
|
|
"default": false,
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"clean": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"max_emojis": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"interval": {
|
|
"type": "number"
|
|
},
|
|
"count": {
|
|
"type": "number"
|
|
},
|
|
"mute": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"mute_time": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "number"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"remove_roles_on_mute": {
|
|
"default": false,
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"restore_roles_on_mute": {
|
|
"default": false,
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"clean": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"max_newlines": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"interval": {
|
|
"type": "number"
|
|
},
|
|
"count": {
|
|
"type": "number"
|
|
},
|
|
"mute": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"mute_time": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "number"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"remove_roles_on_mute": {
|
|
"default": false,
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"restore_roles_on_mute": {
|
|
"default": false,
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"clean": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"max_duplicates": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"interval": {
|
|
"type": "number"
|
|
},
|
|
"count": {
|
|
"type": "number"
|
|
},
|
|
"mute": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"mute_time": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "number"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"remove_roles_on_mute": {
|
|
"default": false,
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"restore_roles_on_mute": {
|
|
"default": false,
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"clean": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"max_characters": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"interval": {
|
|
"type": "number"
|
|
},
|
|
"count": {
|
|
"type": "number"
|
|
},
|
|
"mute": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"mute_time": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "number"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"remove_roles_on_mute": {
|
|
"default": false,
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"restore_roles_on_mute": {
|
|
"default": false,
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"clean": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"max_voice_moves": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"interval": {
|
|
"type": "number"
|
|
},
|
|
"count": {
|
|
"type": "number"
|
|
},
|
|
"mute": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"mute_time": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "number"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"remove_roles_on_mute": {
|
|
"default": false,
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"restore_roles_on_mute": {
|
|
"default": false,
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"clean": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
}
|
|
},
|
|
"required": [
|
|
"config"
|
|
],
|
|
"additionalProperties": false
|
|
}
|
|
}
|
|
},
|
|
"required": []
|
|
},
|
|
"starboard": {
|
|
"type": "object",
|
|
"properties": {
|
|
"config": {
|
|
"type": "object",
|
|
"properties": {
|
|
"boards": {
|
|
"default": {},
|
|
"type": "object",
|
|
"propertyNames": {
|
|
"type": "string"
|
|
},
|
|
"additionalProperties": {
|
|
"type": "object",
|
|
"properties": {
|
|
"channel_id": {
|
|
"type": "string"
|
|
},
|
|
"stars_required": {
|
|
"type": "number"
|
|
},
|
|
"star_emoji": {
|
|
"default": [
|
|
"⭐"
|
|
],
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"allow_selfstars": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"copy_full_embed": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"enabled": {
|
|
"default": true,
|
|
"type": "boolean"
|
|
},
|
|
"show_star_count": {
|
|
"default": true,
|
|
"type": "boolean"
|
|
},
|
|
"color": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "number"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"channel_id",
|
|
"stars_required"
|
|
],
|
|
"additionalProperties": false
|
|
}
|
|
},
|
|
"can_migrate": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
"overrides": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"channel": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"category": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"level": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"user": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"role": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"thread": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"is_thread": {
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"thread_type": {
|
|
"anyOf": [
|
|
{
|
|
"enum": [
|
|
"public",
|
|
"private"
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"extra": {},
|
|
"zzz_dummy_property_do_not_use": {},
|
|
"all": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/$defs/__schema1"
|
|
}
|
|
},
|
|
"any": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/$defs/__schema1"
|
|
}
|
|
},
|
|
"not": {
|
|
"$ref": "#/$defs/__schema1"
|
|
},
|
|
"config": {
|
|
"type": "object",
|
|
"properties": {
|
|
"boards": {
|
|
"default": {},
|
|
"type": "object",
|
|
"propertyNames": {
|
|
"type": "string"
|
|
},
|
|
"additionalProperties": {
|
|
"type": "object",
|
|
"properties": {
|
|
"channel_id": {
|
|
"type": "string"
|
|
},
|
|
"stars_required": {
|
|
"type": "number"
|
|
},
|
|
"star_emoji": {
|
|
"default": [
|
|
"⭐"
|
|
],
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"allow_selfstars": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"copy_full_embed": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"enabled": {
|
|
"default": true,
|
|
"type": "boolean"
|
|
},
|
|
"show_star_count": {
|
|
"default": true,
|
|
"type": "boolean"
|
|
},
|
|
"color": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "number"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
}
|
|
},
|
|
"can_migrate": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
}
|
|
},
|
|
"required": [
|
|
"config"
|
|
],
|
|
"additionalProperties": false
|
|
}
|
|
}
|
|
},
|
|
"required": []
|
|
},
|
|
"tags": {
|
|
"type": "object",
|
|
"properties": {
|
|
"config": {
|
|
"type": "object",
|
|
"properties": {
|
|
"prefix": {
|
|
"default": "!!",
|
|
"type": "string"
|
|
},
|
|
"delete_with_command": {
|
|
"default": true,
|
|
"type": "boolean"
|
|
},
|
|
"user_tag_cooldown": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "number"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"global_tag_cooldown": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "number"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"user_cooldown": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "number"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"allow_mentions": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"global_cooldown": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "number"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"auto_delete_command": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"categories": {
|
|
"default": {},
|
|
"type": "object",
|
|
"propertyNames": {
|
|
"type": "string"
|
|
},
|
|
"additionalProperties": {
|
|
"type": "object",
|
|
"properties": {
|
|
"prefix": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"delete_with_command": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"user_tag_cooldown": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "number"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"user_category_cooldown": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "number"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"global_tag_cooldown": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "number"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"allow_mentions": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"global_category_cooldown": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "number"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"auto_delete_command": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"tags": {
|
|
"type": "object",
|
|
"propertyNames": {
|
|
"type": "string"
|
|
},
|
|
"additionalProperties": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"content": {
|
|
"type": "string"
|
|
},
|
|
"tts": {
|
|
"type": "boolean"
|
|
},
|
|
"embeds": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"title": {
|
|
"type": "string"
|
|
},
|
|
"description": {
|
|
"type": "string"
|
|
},
|
|
"url": {
|
|
"type": "string"
|
|
},
|
|
"timestamp": {
|
|
"type": "string"
|
|
},
|
|
"color": {
|
|
"type": "number"
|
|
},
|
|
"footer": {
|
|
"type": "object",
|
|
"properties": {
|
|
"text": {
|
|
"type": "string"
|
|
},
|
|
"icon_url": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"text"
|
|
]
|
|
},
|
|
"image": {
|
|
"type": "object",
|
|
"properties": {
|
|
"url": {
|
|
"type": "string"
|
|
},
|
|
"width": {
|
|
"type": "number"
|
|
},
|
|
"height": {
|
|
"type": "number"
|
|
}
|
|
},
|
|
"required": []
|
|
},
|
|
"thumbnail": {
|
|
"type": "object",
|
|
"properties": {
|
|
"url": {
|
|
"type": "string"
|
|
},
|
|
"width": {
|
|
"type": "number"
|
|
},
|
|
"height": {
|
|
"type": "number"
|
|
}
|
|
},
|
|
"required": []
|
|
},
|
|
"video": {
|
|
"type": "object",
|
|
"properties": {
|
|
"url": {
|
|
"type": "string"
|
|
},
|
|
"width": {
|
|
"type": "number"
|
|
},
|
|
"height": {
|
|
"type": "number"
|
|
}
|
|
},
|
|
"required": []
|
|
},
|
|
"provider": {
|
|
"type": "object",
|
|
"properties": {
|
|
"name": {
|
|
"type": "string"
|
|
},
|
|
"url": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"name"
|
|
]
|
|
},
|
|
"fields": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"name": {
|
|
"type": "string"
|
|
},
|
|
"value": {
|
|
"type": "string"
|
|
},
|
|
"inline": {
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": []
|
|
}
|
|
},
|
|
"author": {
|
|
"anyOf": [
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"name": {
|
|
"type": "string"
|
|
},
|
|
"url": {
|
|
"type": "string"
|
|
},
|
|
"width": {
|
|
"type": "number"
|
|
},
|
|
"height": {
|
|
"type": "number"
|
|
}
|
|
},
|
|
"required": [
|
|
"name"
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": []
|
|
}
|
|
}
|
|
},
|
|
"required": []
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"can_use": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"tags"
|
|
],
|
|
"additionalProperties": false
|
|
}
|
|
},
|
|
"can_create": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"can_use": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"can_list": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
"overrides": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"channel": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"category": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"level": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"user": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"role": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"thread": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"is_thread": {
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"thread_type": {
|
|
"anyOf": [
|
|
{
|
|
"enum": [
|
|
"public",
|
|
"private"
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"extra": {},
|
|
"zzz_dummy_property_do_not_use": {},
|
|
"all": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/$defs/__schema1"
|
|
}
|
|
},
|
|
"any": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/$defs/__schema1"
|
|
}
|
|
},
|
|
"not": {
|
|
"$ref": "#/$defs/__schema1"
|
|
},
|
|
"config": {
|
|
"type": "object",
|
|
"properties": {
|
|
"prefix": {
|
|
"default": "!!",
|
|
"type": "string"
|
|
},
|
|
"delete_with_command": {
|
|
"default": true,
|
|
"type": "boolean"
|
|
},
|
|
"user_tag_cooldown": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "number"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"global_tag_cooldown": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "number"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"user_cooldown": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "number"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"allow_mentions": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"global_cooldown": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "number"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"auto_delete_command": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"categories": {
|
|
"default": {},
|
|
"type": "object",
|
|
"propertyNames": {
|
|
"type": "string"
|
|
},
|
|
"additionalProperties": {
|
|
"type": "object",
|
|
"properties": {
|
|
"prefix": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"delete_with_command": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"user_tag_cooldown": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "number"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"user_category_cooldown": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "number"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"global_tag_cooldown": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "number"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"allow_mentions": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"global_category_cooldown": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "number"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"auto_delete_command": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"tags": {
|
|
"type": "object",
|
|
"propertyNames": {
|
|
"type": "string"
|
|
},
|
|
"additionalProperties": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"content": {
|
|
"type": "string"
|
|
},
|
|
"tts": {
|
|
"type": "boolean"
|
|
},
|
|
"embeds": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"title": {
|
|
"type": "string"
|
|
},
|
|
"description": {
|
|
"type": "string"
|
|
},
|
|
"url": {
|
|
"type": "string"
|
|
},
|
|
"timestamp": {
|
|
"type": "string"
|
|
},
|
|
"color": {
|
|
"type": "number"
|
|
},
|
|
"footer": {
|
|
"type": "object",
|
|
"properties": {
|
|
"text": {
|
|
"type": "string"
|
|
},
|
|
"icon_url": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": []
|
|
},
|
|
"image": {
|
|
"type": "object",
|
|
"properties": {
|
|
"url": {
|
|
"type": "string"
|
|
},
|
|
"width": {
|
|
"type": "number"
|
|
},
|
|
"height": {
|
|
"type": "number"
|
|
}
|
|
},
|
|
"required": []
|
|
},
|
|
"thumbnail": {
|
|
"type": "object",
|
|
"properties": {
|
|
"url": {
|
|
"type": "string"
|
|
},
|
|
"width": {
|
|
"type": "number"
|
|
},
|
|
"height": {
|
|
"type": "number"
|
|
}
|
|
},
|
|
"required": []
|
|
},
|
|
"video": {
|
|
"type": "object",
|
|
"properties": {
|
|
"url": {
|
|
"type": "string"
|
|
},
|
|
"width": {
|
|
"type": "number"
|
|
},
|
|
"height": {
|
|
"type": "number"
|
|
}
|
|
},
|
|
"required": []
|
|
},
|
|
"provider": {
|
|
"type": "object",
|
|
"properties": {
|
|
"name": {
|
|
"type": "string"
|
|
},
|
|
"url": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": []
|
|
},
|
|
"fields": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"name": {
|
|
"type": "string"
|
|
},
|
|
"value": {
|
|
"type": "string"
|
|
},
|
|
"inline": {
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": []
|
|
}
|
|
},
|
|
"author": {
|
|
"anyOf": [
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"name": {
|
|
"type": "string"
|
|
},
|
|
"url": {
|
|
"type": "string"
|
|
},
|
|
"width": {
|
|
"type": "number"
|
|
},
|
|
"height": {
|
|
"type": "number"
|
|
}
|
|
},
|
|
"required": []
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": []
|
|
}
|
|
}
|
|
},
|
|
"required": []
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"can_use": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
}
|
|
},
|
|
"can_create": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"can_use": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"can_list": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
}
|
|
},
|
|
"required": [
|
|
"config"
|
|
],
|
|
"additionalProperties": false
|
|
}
|
|
}
|
|
},
|
|
"required": []
|
|
},
|
|
"time_and_date": {
|
|
"type": "object",
|
|
"properties": {
|
|
"config": {
|
|
"type": "object",
|
|
"properties": {
|
|
"timezone": {
|
|
"default": "Etc/UTC",
|
|
"type": "string"
|
|
},
|
|
"date_formats": {
|
|
"default": {
|
|
"date": "MMM D, YYYY",
|
|
"time": "H:mm",
|
|
"pretty_datetime": "MMM D, YYYY [at] H:mm z"
|
|
},
|
|
"anyOf": [
|
|
{
|
|
"type": "object",
|
|
"propertyNames": {
|
|
"enum": [
|
|
"date",
|
|
"time",
|
|
"pretty_datetime"
|
|
]
|
|
},
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"can_set_timezone": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
"overrides": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"channel": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"category": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"level": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"user": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"role": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"thread": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"is_thread": {
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"thread_type": {
|
|
"anyOf": [
|
|
{
|
|
"enum": [
|
|
"public",
|
|
"private"
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"extra": {},
|
|
"zzz_dummy_property_do_not_use": {},
|
|
"all": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/$defs/__schema1"
|
|
}
|
|
},
|
|
"any": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/$defs/__schema1"
|
|
}
|
|
},
|
|
"not": {
|
|
"$ref": "#/$defs/__schema1"
|
|
},
|
|
"config": {
|
|
"type": "object",
|
|
"properties": {
|
|
"timezone": {
|
|
"default": "Etc/UTC",
|
|
"type": "string"
|
|
},
|
|
"date_formats": {
|
|
"default": {
|
|
"date": "MMM D, YYYY",
|
|
"time": "H:mm",
|
|
"pretty_datetime": "MMM D, YYYY [at] H:mm z"
|
|
},
|
|
"anyOf": [
|
|
{
|
|
"type": "object",
|
|
"propertyNames": {
|
|
"enum": [
|
|
"date",
|
|
"time",
|
|
"pretty_datetime"
|
|
]
|
|
},
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"can_set_timezone": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
}
|
|
},
|
|
"required": [
|
|
"config"
|
|
],
|
|
"additionalProperties": false
|
|
}
|
|
}
|
|
},
|
|
"required": []
|
|
},
|
|
"username_saver": {
|
|
"type": "object",
|
|
"properties": {
|
|
"config": {
|
|
"type": "object",
|
|
"properties": {},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
"overrides": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"channel": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"category": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"level": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"user": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"role": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"thread": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"is_thread": {
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"thread_type": {
|
|
"anyOf": [
|
|
{
|
|
"enum": [
|
|
"public",
|
|
"private"
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"extra": {},
|
|
"zzz_dummy_property_do_not_use": {},
|
|
"all": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/$defs/__schema1"
|
|
}
|
|
},
|
|
"any": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/$defs/__schema1"
|
|
}
|
|
},
|
|
"not": {
|
|
"$ref": "#/$defs/__schema1"
|
|
},
|
|
"config": {
|
|
"type": "object",
|
|
"properties": {},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
}
|
|
},
|
|
"required": [
|
|
"config"
|
|
],
|
|
"additionalProperties": false
|
|
}
|
|
}
|
|
},
|
|
"required": []
|
|
},
|
|
"utility": {
|
|
"type": "object",
|
|
"properties": {
|
|
"config": {
|
|
"type": "object",
|
|
"properties": {
|
|
"can_roles": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"can_level": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"can_search": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"can_clean": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"can_info": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"can_server": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"can_inviteinfo": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"can_channelinfo": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"can_messageinfo": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"can_userinfo": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"can_roleinfo": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"can_emojiinfo": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"can_snowflake": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"can_reload_guild": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"can_nickname": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"can_ping": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"can_source": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"can_vcmove": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"can_vckick": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"can_help": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"can_about": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"can_context": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"can_jumbo": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"jumbo_size": {
|
|
"default": 128,
|
|
"type": "number"
|
|
},
|
|
"can_avatar": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"info_on_single_result": {
|
|
"default": true,
|
|
"type": "boolean"
|
|
},
|
|
"autojoin_threads": {
|
|
"default": true,
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
"overrides": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"channel": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"category": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"level": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"user": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"role": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"thread": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"is_thread": {
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"thread_type": {
|
|
"anyOf": [
|
|
{
|
|
"enum": [
|
|
"public",
|
|
"private"
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"extra": {},
|
|
"zzz_dummy_property_do_not_use": {},
|
|
"all": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/$defs/__schema1"
|
|
}
|
|
},
|
|
"any": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/$defs/__schema1"
|
|
}
|
|
},
|
|
"not": {
|
|
"$ref": "#/$defs/__schema1"
|
|
},
|
|
"config": {
|
|
"type": "object",
|
|
"properties": {
|
|
"can_roles": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"can_level": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"can_search": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"can_clean": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"can_info": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"can_server": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"can_inviteinfo": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"can_channelinfo": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"can_messageinfo": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"can_userinfo": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"can_roleinfo": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"can_emojiinfo": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"can_snowflake": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"can_reload_guild": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"can_nickname": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"can_ping": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"can_source": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"can_vcmove": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"can_vckick": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"can_help": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"can_about": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"can_context": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"can_jumbo": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"jumbo_size": {
|
|
"default": 128,
|
|
"type": "number"
|
|
},
|
|
"can_avatar": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"info_on_single_result": {
|
|
"default": true,
|
|
"type": "boolean"
|
|
},
|
|
"autojoin_threads": {
|
|
"default": true,
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
}
|
|
},
|
|
"required": [
|
|
"config"
|
|
],
|
|
"additionalProperties": false
|
|
}
|
|
}
|
|
},
|
|
"required": []
|
|
},
|
|
"welcome_message": {
|
|
"type": "object",
|
|
"properties": {
|
|
"config": {
|
|
"type": "object",
|
|
"properties": {
|
|
"send_dm": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"send_to_channel": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"message": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
"overrides": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"channel": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"category": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"level": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"user": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"role": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"thread": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"is_thread": {
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"thread_type": {
|
|
"anyOf": [
|
|
{
|
|
"enum": [
|
|
"public",
|
|
"private"
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"extra": {},
|
|
"zzz_dummy_property_do_not_use": {},
|
|
"all": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/$defs/__schema1"
|
|
}
|
|
},
|
|
"any": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/$defs/__schema1"
|
|
}
|
|
},
|
|
"not": {
|
|
"$ref": "#/$defs/__schema1"
|
|
},
|
|
"config": {
|
|
"type": "object",
|
|
"properties": {
|
|
"send_dm": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"send_to_channel": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"message": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
}
|
|
},
|
|
"required": [
|
|
"config"
|
|
],
|
|
"additionalProperties": false
|
|
}
|
|
}
|
|
},
|
|
"required": []
|
|
},
|
|
"common": {
|
|
"type": "object",
|
|
"properties": {
|
|
"config": {
|
|
"type": "object",
|
|
"properties": {
|
|
"success_emoji": {
|
|
"default": "✅",
|
|
"type": "string"
|
|
},
|
|
"error_emoji": {
|
|
"default": "❌",
|
|
"type": "string"
|
|
},
|
|
"attachment_storing_channel": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
},
|
|
"overrides": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"channel": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"category": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"level": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"user": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"role": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"thread": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"is_thread": {
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"thread_type": {
|
|
"anyOf": [
|
|
{
|
|
"enum": [
|
|
"public",
|
|
"private"
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"extra": {},
|
|
"zzz_dummy_property_do_not_use": {},
|
|
"all": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/$defs/__schema1"
|
|
}
|
|
},
|
|
"any": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/$defs/__schema1"
|
|
}
|
|
},
|
|
"not": {
|
|
"$ref": "#/$defs/__schema1"
|
|
},
|
|
"config": {
|
|
"type": "object",
|
|
"properties": {
|
|
"success_emoji": {
|
|
"default": "✅",
|
|
"type": "string"
|
|
},
|
|
"error_emoji": {
|
|
"default": "❌",
|
|
"type": "string"
|
|
},
|
|
"attachment_storing_channel": {
|
|
"default": null,
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
}
|
|
},
|
|
"required": [
|
|
"config"
|
|
],
|
|
"additionalProperties": false
|
|
}
|
|
}
|
|
},
|
|
"required": []
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false,
|
|
"$defs": {
|
|
"__schema0": {
|
|
"$ref": "#/$defs/__schema1"
|
|
},
|
|
"__schema1": {
|
|
"type": "object",
|
|
"properties": {
|
|
"channel": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"category": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"level": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"user": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"role": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"thread": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"is_thread": {
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"thread_type": {
|
|
"anyOf": [
|
|
{
|
|
"enum": [
|
|
"public",
|
|
"private"
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"extra": {},
|
|
"zzz_dummy_property_do_not_use": {},
|
|
"all": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/$defs/__schema1"
|
|
}
|
|
},
|
|
"any": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/$defs/__schema1"
|
|
}
|
|
},
|
|
"not": {
|
|
"$ref": "#/$defs/__schema1"
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
}
|
|
},
|
|
"$schema": "https://json-schema.org/draft-2020-12/schema"
|
|
} |