From 170e94b1963fd0e63f349598c5572a7817c20fa0 Mon Sep 17 00:00:00 2001 From: yasirarism <55983182+yasirarism@users.noreply.github.com> Date: Tue, 6 Jun 2023 15:31:20 +0000 Subject: [PATCH] fix --- misskaty/plugins/genss.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/misskaty/plugins/genss.py b/misskaty/plugins/genss.py index 33c1c096..de8bff7a 100644 --- a/misskaty/plugins/genss.py +++ b/misskaty/plugins/genss.py @@ -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)