Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
SpEcHiDe authored Oct 29, 2020
1 parent b22d1f4 commit abb81a7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions main_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,9 @@ async def clearurl_hndlr(event):

if url is not None:
to_send.append(clear_url(url))
to_send_txt = "\n\n".join(i for i in to_send)
await event.reply(f"🧹 Cleaned URLs: "
if len(to_send) > 0:
to_send_txt = "\n\n".join(i for i in to_send)
await event.reply(f"🧹 Cleaned URLs: "
f"\n{to_send_txt}", link_preview = False)
else:
chat = await event.get_chat()
Expand Down

0 comments on commit abb81a7

Please sign in to comment.