Skip to content

Commit

Permalink
pylint: auto fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
buddhhu committed Aug 18, 2023
1 parent 14b3f0a commit e3bcf91
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plugins/odrive.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
with rm.get("onedrive", helper=True, dispose=True) as mod:
onedrv = mod.OneDrive


@ultroid_cmd(pattern="1dauth( (.*)|$)")
async def onedrive_auth(event):
"""`{}1dauth <code>` - To authorise with OneDrive graphql api.
Expand All @@ -26,6 +27,7 @@ async def onedrive_auth(event):
msg = f"`{creds}`"
await event.eor(msg)


@ultroid_cmd(pattern="1dul( (.*)|$)")
async def onedrive_upload(event):
"""`{}1dul <path to file/reply to document>` - Upload file from local/telegram to OneDrive`"""
Expand Down

0 comments on commit e3bcf91

Please sign in to comment.