From 381288caa8d8d908510b9fb474b97aaab25b45a3 Mon Sep 17 00:00:00 2001 From: levina <82658782+levina-lab@users.noreply.github.com> Date: Sun, 7 Nov 2021 18:09:10 +0700 Subject: [PATCH] none --- program/video.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/program/video.py b/program/video.py index 31984fd..7e42f84 100644 --- a/program/video.py +++ b/program/video.py @@ -109,7 +109,7 @@ async def vplay(c: Client, m: Message): try: await user.join_chat(m.chat.username) except Exception as e: - await m.reply_text(f"❌ **userbot failed to join**\n\n**reason**:{e}") + await m.reply_text(f"❌ **userbot failed to join**\n\n**reason**: `{e}`") return else: try: @@ -120,7 +120,7 @@ async def vplay(c: Client, m: Message): pass except Exception as e: return await m.reply_text( - f"❌ **userbot failed to join**\n\n**reason**: {e}" + f"❌ **userbot failed to join**\n\n**reason**: `{e}`" ) if replied: @@ -342,7 +342,7 @@ async def vstream(c: Client, m: Message): try: await user.join_chat(m.chat.username) except Exception as e: - await m.reply_text(f"❌ **userbot failed to join**\n\n**reason**:{e}") + await m.reply_text(f"❌ **userbot failed to join**\n\n**reason**: `{e}`") return else: try: @@ -353,7 +353,7 @@ async def vstream(c: Client, m: Message): pass except Exception as e: return await m.reply_text( - f"❌ **userbot failed to join**\n\n**reason**:{e}" + f"❌ **userbot failed to join**\n\n**reason**: `{e}`" ) if len(m.command) < 2: