Skip to content

Commit

Permalink
Update ai_talk.py
Browse files Browse the repository at this point in the history
Правки 20
  • Loading branch information
ComRSMaster authored Dec 27, 2023
1 parent 9746daa commit bd27ab8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions functions/ai_talk.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,7 @@ async def send_to_user(use_md=True):
await send_to_user()
except ApiTelegramException as e:
logger.error(e)
if e.description.startswith("Bad Request: can't parse entities"):
await send_to_user(False)
await send_to_user(False)
continue
except asyncio.CancelledError:
print('STOP')
Expand Down

0 comments on commit bd27ab8

Please sign in to comment.