mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2025-12-29 09:44:50 +00:00
debuug
This commit is contained in:
parent
658c3100b3
commit
dc40640dd7
1 changed files with 1 additions and 0 deletions
|
|
@ -95,6 +95,7 @@ async def ytdownv2(self, ctx: Message, strings):
|
||||||
if not ctx.from_user:
|
if not ctx.from_user:
|
||||||
return await ctx.reply_msg(strings("no_channel"))
|
return await ctx.reply_msg(strings("no_channel"))
|
||||||
url = ctx.command[1] if ctx.command and len(ctx.command) > 1 else ctx.text
|
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))
|
self.log.info(not isValidURL(url))
|
||||||
if not isValidURL(url):
|
if not isValidURL(url):
|
||||||
return await ctx.reply_msg(strings("invalid_link"))
|
return await ctx.reply_msg(strings("invalid_link"))
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue