From bcdccc69d4ca0f004b98b4bbebd8f4aad0043b3c Mon Sep 17 00:00:00 2001 From: techmovie Date: Fri, 30 Jun 2023 15:02:41 +0800 Subject: [PATCH] fix: handle empty message --- telegram_bot.py | 1 + 1 file changed, 1 insertion(+) diff --git a/telegram_bot.py b/telegram_bot.py index c372c4d..1b2ba4a 100644 --- a/telegram_bot.py +++ b/telegram_bot.py @@ -24,6 +24,7 @@ def handle_update(message): if not message_text: self.bot.reply_to(message, "The message is empty. Please provide the required information.") + return try: process_message(message_text)