From da34bb353160fbcb78c3bdb4e17affbaaadbb917 Mon Sep 17 00:00:00 2001 From: nexy7574 Date: Tue, 16 May 2023 15:16:30 +0100 Subject: [PATCH] Fix auth redir --- cogs/info.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/cogs/info.py b/cogs/info.py index eb5b6b5..abbff6a 100644 --- a/cogs/info.py +++ b/cogs/info.py @@ -46,11 +46,7 @@ class InfoCog(commands.Cog): user = await get_or_none(AccessTokens, user_id=ctx.author.id) if not user: - url = discord.utils.oauth_url( - OAUTH_ID, - redirect_uri=OAUTH_REDIRECT_URI, - scopes=('identify', "connections", "guilds", "email") - ) + f"&state={value}&prompt=none" + url = "https://droplet.nexy7574.co.uk/jimmy/auth" return await ctx.respond( embed=discord.Embed( title="You must link your account first!",