From e44f9442e7bab474fc65689e3bde4613078c0e87 Mon Sep 17 00:00:00 2001 From: Gurulhu Date: Wed, 1 Jun 2022 16:18:36 -0300 Subject: [PATCH] Fixed imports for Telegram storage and enabled multiple chat-ids fixed configuration files to reflect new changes. changed chat-id to chat-ids to better suit multiple IDs. --- pystemon.yaml | 8 +++++--- pystemon/storage/telegramstorage.py | 16 ++++++++-------- 2 files changed, 13 insertions(+), 11 deletions(-) diff --git a/pystemon.yaml b/pystemon.yaml index be91b8b..4275861 100644 --- a/pystemon.yaml +++ b/pystemon.yaml @@ -58,8 +58,10 @@ storage: telegram: storage-classname: TelegramStorage enable: no # Enable this alerting engine + save: yes token: 0 # see https://core.telegram.org/bots/api#authorizing-your-bot - chat-id: 0 + chat-ids: + - 0 email: alert: no # Enable/disable email alerts @@ -178,7 +180,7 @@ site: download-url: 'http://paste.org.ru/?{id}' pastie-classname: PastiePasteOrgRu throttling: 5000 - + kpaste.net: enable: no archive-url: 'http://kpaste.net/' @@ -206,7 +208,7 @@ site: archive-regex: '