mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2025-12-29 17:44:50 +00:00
fix
This commit is contained in:
parent
cbe9deffd2
commit
170e94b196
1 changed files with 2 additions and 2 deletions
|
|
@ -41,9 +41,9 @@ async def genss(self: Client, ctx: Message, strings):
|
|||
return
|
||||
replied = ctx.reply_to_message
|
||||
if len(ctx.command) == 2 and is_url(ctx.command[1]):
|
||||
pesan = await ctx.reply_msg(strings("wait_msg"), quote=True)
|
||||
pesan = await ctx.reply_msg(strings("wait_dl"), quote=True)
|
||||
start_t = datetime.now()
|
||||
the_url_parts = " ".join(message.command[1:])
|
||||
the_url_parts = " ".join(ctx.command[1:])
|
||||
url = the_url_parts.strip()
|
||||
file_name = os.path.basename(url)
|
||||
download_file_path = os.path.join("downloads/", file_name)
|
||||
|
|
|
|||
Loading…
Reference in a new issue