This commit is contained in:
levina 2021-11-07 18:09:10 +07:00 committed by GitHub
parent df1d5821c0
commit 381288caa8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: