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: try:
await user.join_chat(m.chat.username) await user.join_chat(m.chat.username)
except Exception as e: 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 return
else: else:
try: try:
@ -120,7 +120,7 @@ async def vplay(c: Client, m: Message):
pass pass
except Exception as e: except Exception as e:
return await m.reply_text( 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: if replied:
@ -342,7 +342,7 @@ async def vstream(c: Client, m: Message):
try: try:
await user.join_chat(m.chat.username) await user.join_chat(m.chat.username)
except Exception as e: 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 return
else: else:
try: try:
@ -353,7 +353,7 @@ async def vstream(c: Client, m: Message):
pass pass
except Exception as e: except Exception as e:
return await m.reply_text( 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: if len(m.command) < 2: