diff --git a/plugins/drive.py b/plugins/drive.py index 253a2ac1c..c11f1e333 100644 --- a/plugins/drive.py +++ b/plugins/drive.py @@ -40,7 +40,7 @@ async def drive_auth_func(event): if not (drive.client_id or drive.client_secret): return await event.eor("Fill GDrive credentials before authorisation.") if not match: - return await event.eor(f"Visit [this]({get_oauth2_url()}) to get authorisation code.") + return await event.eor(f"Visit [this]({drive.get_oauth2_url()}) to get authorisation code.") creds = await drive.get_access_token(code=match) msg = "Authorisation successful." if "error" in creds: