Skip to content

Commit

Permalink
fix: handle empty message
Browse files Browse the repository at this point in the history
  • Loading branch information
techmovie committed Jun 30, 2023
1 parent 8b9ed3b commit bcdccc6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions telegram_bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit bcdccc6

Please sign in to comment.