From df1d5821c055a1b7a2cb59ea7e046931c2897fed Mon Sep 17 00:00:00 2001 From: levina <82658782+levina-lab@users.noreply.github.com> Date: Sun, 7 Nov 2021 18:08:03 +0700 Subject: [PATCH] none --- program/music.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/program/music.py b/program/music.py index ab95515..f7e09b9 100644 --- a/program/music.py +++ b/program/music.py @@ -103,7 +103,7 @@ async def play(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: @@ -114,7 +114,7 @@ async def play(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: @@ -312,7 +312,7 @@ async def stream(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: @@ -323,7 +323,7 @@ async def stream(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: