Skip to content

Commit

Permalink
improve preaudit parse mode
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoWorms committed Nov 24, 2023
1 parent c4a81b5 commit c50d692
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def preaudit(update: Update, context: CallbackContext) -> None:
max_length = 4096
messages = [bot_response[i:i+max_length] for i in range(0, len(bot_response), max_length)]
for msg in messages:
update.message.reply_text(msg, parse_mode=ParseMode.MARKDOWN)
update.message.reply_text(msg)

except requests.RequestException as e:
update.message.reply_text(f"Error fetching data from the URL: {e}")
Expand Down

0 comments on commit c50d692

Please sign in to comment.