From fbfa7a060ba91edd5d0744c8dc27dbba72342cea Mon Sep 17 00:00:00 2001 From: koalasat Date: Thu, 18 Jul 2024 12:05:04 +0200 Subject: [PATCH] Fix telegram bot --- api/management/commands/telegram_watcher.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/api/management/commands/telegram_watcher.py b/api/management/commands/telegram_watcher.py index d626b7569..bc5703634 100644 --- a/api/management/commands/telegram_watcher.py +++ b/api/management/commands/telegram_watcher.py @@ -52,6 +52,7 @@ def handle(self, *args, **options): self.notifications.send_telegram_message( result["message"]["from"]["id"], 'You must enable the notifications bot using the RoboSats client. Click on your "Robot robot" -> "Enable Telegram" and follow the link or scan the QR code.', + "", ) continue token = parts[-1] @@ -60,6 +61,7 @@ def handle(self, *args, **options): self.notifications.send_telegram_message( result["message"]["from"]["id"], f'Wops, invalid token! There is no Robot with telegram chat token "{token}"', + "", ) continue