From c177be89207b175dcae6efe35e3d223df8bee520 Mon Sep 17 00:00:00 2001 From: Dragory <2606411+Dragory@users.noreply.github.com> Date: Mon, 17 Aug 2020 00:55:18 +0300 Subject: [PATCH] Fix categoryAutomation type --- src/data/cfg.schema.json | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/src/data/cfg.schema.json b/src/data/cfg.schema.json index 9431823..ffb416d 100644 --- a/src/data/cfg.schema.json +++ b/src/data/cfg.schema.json @@ -223,10 +223,18 @@ }, "categoryAutomation": { - "patternProperties": { - "^.+$": { - "type": "string", - "pattern": "^\\d+$" + "properties": { + "newThread": { + "type": "string" + }, + "newThreadFromGuild": { + "type": "object", + "patternProperties": { + "^.+$": { + "type": "string", + "pattern": "^\\d+$" + } + } } }, "default": {}