Skip to content

Commit

Permalink
GDrive uploader
Browse files Browse the repository at this point in the history
  • Loading branch information
buddhhu committed Aug 19, 2023
1 parent 039307e commit 48b01dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/drive.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 48b01dd

Please sign in to comment.