none
This commit is contained in:
parent
371d1848d1
commit
df1d5821c0
@ -103,7 +103,7 @@ async def play(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:
|
||||||
@ -114,7 +114,7 @@ async def play(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:
|
||||||
@ -312,7 +312,7 @@ async def stream(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:
|
||||||
@ -323,7 +323,7 @@ async def stream(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:
|
||||||
|
Loading…
Reference in New Issue
Block a user