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: