mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2026-01-03 19:14:51 +00:00
lupa remove
This commit is contained in:
parent
09b66aef02
commit
a29444235b
1 changed files with 0 additions and 2 deletions
|
|
@ -94,8 +94,6 @@ async def ytsearch(_, ctx: Message, strings):
|
||||||
async def ytdownv2(self, ctx: Message, strings):
|
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"))
|
||||||
if ctx.command and len(ctx.command) == 1:
|
|
||||||
return await ctx.reply_msg(strings("invalid_link"))
|
|
||||||
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
|
||||||
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