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: