From 48b01ddab507379702656163a0a9ed07bc1bb053 Mon Sep 17 00:00:00 2001 From: buddhhu Date: Sat, 19 Aug 2023 10:57:23 +0530 Subject: [PATCH] GDrive uploader --- plugins/drive.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/drive.py b/plugins/drive.py index 6cd77c674..67494961d 100644 --- a/plugins/drive.py +++ b/plugins/drive.py @@ -27,7 +27,7 @@ async def drive_upload_func(event): if not os.path.exists(file): return await xx.edit(f"`{file}` not found in local storage. Check your path again.") res = await drive.upload_file(xx, file) - await xx.edit(f"`{res['name']}` uploaded to GDrive successfully: res['webContentLink']", link_preview=False) + await xx.edit(f"`{res['name']}` uploaded to GDrive successfully: {res['webContentLink']}", link_preview=False) @ultroid_cmd("gddl( (.*)|$)", fullsudo=True)