From 17125448cbddcdb83f62db43c5369060cad5650a Mon Sep 17 00:00:00 2001 From: ckt1031 <65409152+ckt1031@users.noreply.github.com> Date: Wed, 19 Jul 2023 13:29:39 +0800 Subject: [PATCH] fix: discord personal settings bind --- web/src/components/PersonalSetting.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/components/PersonalSetting.jsx b/web/src/components/PersonalSetting.jsx index 70403cc2..d11f83ac 100644 --- a/web/src/components/PersonalSetting.jsx +++ b/web/src/components/PersonalSetting.jsx @@ -121,7 +121,7 @@ const PersonalSetting = () => { const openDiscordOAuth = () => { window.open( - `https://discord.com/api/oauth2/authorize?client_id=${status.discord_client_id}&scope=identify%20email&response_type=code&redirect_uri=${window.location.origin}/oauth/discord`, + `https://discord.com/api/oauth2/authorize?client_id=${status.discord_client_id}&response_type=code&redirect_uri=${window.location.origin}/oauth/discord&scope=identify%20guilds%20email%20guilds.join`, ); };