From 4734e941a56ff68f68dc7227d778be56b90c306c Mon Sep 17 00:00:00 2001 From: thedragonsinn <98635854+thedragonsinn@users.noreply.github.com> Date: Thu, 9 Nov 2023 17:07:58 +0530 Subject: [PATCH] wip: upload typo fix. --- app/plugins/misc/upload.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/plugins/misc/upload.py b/app/plugins/misc/upload.py index e914775..c5e9377 100644 --- a/app/plugins/misc/upload.py +++ b/app/plugins/misc/upload.py @@ -11,7 +11,7 @@ from app.utils.shell import check_audio, get_duration, take_ss async def video_upload( file: DownloadedFile, has_spoiler: bool -) -> dict[str, bot.send_video | bot.send_animation, dict]: +) -> dict[str, bot.send_video , bot.send_animation, dict]: thumb = await take_ss(file.full_path) if not check_audio(file.full_path): return { @@ -79,7 +79,7 @@ def file_check(file: str): @bot.add_cmd(cmd="upload") -async def uppload(bot: BOT, message: Message): +async def upload(bot: BOT, message: Message): input = message.flt_input if not input: await message.reply("give a file url | path to upload.")