diff --git a/plugins/odrive.py b/plugins/odrive.py index 10c32326ee..13b430fecd 100644 --- a/plugins/odrive.py +++ b/plugins/odrive.py @@ -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 ` - To authorise with OneDrive graphql api. @@ -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 ` - Upload file from local/telegram to OneDrive`"""