commit
e41a0b28dd
@ -1,4 +1,4 @@
|
||||
FROM nikolaik/python-nodejs:python3.9-nodejs16
|
||||
FROM nikolaik/python-nodejs:python3.10-nodejs17
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y --no-install-recommends ffmpeg \
|
||||
&& apt-get clean \
|
||||
|
@ -203,6 +203,7 @@ async def play(c: Client, m: Message):
|
||||
reply_markup=keyboard,
|
||||
)
|
||||
except Exception as ep:
|
||||
await suhu.delete()
|
||||
await m.reply_text(f"🚫 error: `{ep}`")
|
||||
|
||||
else:
|
||||
@ -252,6 +253,7 @@ async def play(c: Client, m: Message):
|
||||
reply_markup=keyboard,
|
||||
)
|
||||
except Exception as ep:
|
||||
await suhu.delete()
|
||||
await m.reply_text(f"🚫 error: `{ep}`")
|
||||
|
||||
|
||||
@ -370,4 +372,5 @@ async def stream(c: Client, m: Message):
|
||||
reply_markup=keyboard,
|
||||
)
|
||||
except Exception as ep:
|
||||
await suhu.delete()
|
||||
await m.reply_text(f"🚫 error: `{ep}`")
|
||||
|
@ -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:
|
||||
@ -231,6 +231,7 @@ async def vplay(c: Client, m: Message):
|
||||
reply_markup=keyboard,
|
||||
)
|
||||
except Exception as ep:
|
||||
await loser.delete()
|
||||
await m.reply_text(f"🚫 error: `{ep}`")
|
||||
|
||||
else:
|
||||
@ -284,6 +285,7 @@ async def vplay(c: Client, m: Message):
|
||||
reply_markup=keyboard,
|
||||
)
|
||||
except Exception as ep:
|
||||
await loser.delete()
|
||||
await m.reply_text(f"🚫 error: `{ep}`")
|
||||
|
||||
|
||||
@ -424,4 +426,5 @@ async def vstream(c: Client, m: Message):
|
||||
reply_markup=keyboard,
|
||||
)
|
||||
except Exception as ep:
|
||||
await loser.delete()
|
||||
await m.reply_text(f"🚫 error: `{ep}`")
|
||||
|
@ -4,7 +4,7 @@ ffmpeg-python
|
||||
py-tgcalls==0.8.1rc1
|
||||
git+https://github.com/pyrogram/pyrogram@master
|
||||
git+https://github.com/yt-dlp/yt-dlp@master
|
||||
youtube-search-python
|
||||
youtube-search-python==1.4.9
|
||||
youtube-search
|
||||
httpx==0.13.3
|
||||
python-dotenv
|
||||
|
Loading…
Reference in New Issue
Block a user