From 6fdaa6bf77245148ddfa01c47b0e20ec3c9814cb Mon Sep 17 00:00:00 2001 From: bvn13 Date: Thu, 8 Aug 2024 23:12:38 +0300 Subject: [PATCH] added new source --- config/newsmaker-prod.json | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/config/newsmaker-prod.json b/config/newsmaker-prod.json index a3b68f9..64092f5 100644 --- a/config/newsmaker-prod.json +++ b/config/newsmaker-prod.json @@ -1,6 +1,6 @@ { "onMessage": { - "-1001491510225": [ + "-1001710298299": [ { "name": "Annex.PRO - отключение интернета", "filter": { @@ -17,8 +17,8 @@ { "name": "Варениковская сп - новости о Школьном (отключение электричества и просто новости)", "filter": { - "type": "contain", - "value": "Школьный" + "type": "regexp", + "value": "(х([.]|утор)[0-9а-яА-Я]*) +Школьн[0-9а-яА-Я]+" }, "action": { "type": "forward", @@ -54,8 +54,21 @@ { "name": "МЦУ Крымский район - о хуторе Школьном", "filter": { - "type": "contain", - "value": "Школьный" + "type": "regexp", + "value": "(х([.]|утор)[0-9а-яА-Я]*) +Школьн[0-9а-яА-Я]+" + }, + "action": { + "type": "forward", + "chatId": -1001699667908 + } + } + ], + "-1001228282494": [ + { + "name": "Тема регион: Крымск - о хуторе Школьном", + "filter": { + "type": "regexp", + "value": "(х([.]|утор)[0-9а-яА-Я]*) +Школьн[0-9а-яА-Я]+" }, "action": { "type": "forward",