Skip to content

Commit

Permalink
Adiciona tratamento para trocar * para - em listas
Browse files Browse the repository at this point in the history
  • Loading branch information
renan-asantos authored Feb 1, 2025
1 parent 407933e commit 3a71fba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/automations/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ def main():
*Texto do comentário*:
{COMMENT_BODY}
"""
message = message.replace(" * ", "- ") # API do Telegram lida melhor com - do que com * pra listas
params = {
"chat_id": CHAT_ID,
"message_thread_id": THREAD_ID,
Expand Down

0 comments on commit 3a71fba

Please sign in to comment.