mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2025-12-29 17:44:50 +00:00
debuug
This commit is contained in:
parent
dc40640dd7
commit
8ef0c4e54d
1 changed files with 1 additions and 3 deletions
|
|
@ -94,9 +94,7 @@ async def ytsearch(_, ctx: Message, strings):
|
|||
async def ytdownv2(self, ctx: Message, strings):
|
||||
if not ctx.from_user:
|
||||
return await ctx.reply_msg(strings("no_channel"))
|
||||
url = ctx.command[1] if ctx.command and len(ctx.command) > 1 else ctx.text
|
||||
self.log.info(url)
|
||||
self.log.info(not isValidURL(url))
|
||||
url = ctx.command[1] if ctx.command and len(ctx.command) > 1 else ctx.text or ctx.caption
|
||||
if not isValidURL(url):
|
||||
return await ctx.reply_msg(strings("invalid_link"))
|
||||
async with iYTDL(log_group_id=0, cache_path="cache", silent=True) as ytdl:
|
||||
|
|
|
|||
Loading…
Reference in a new issue