Skip to content

Commit

Permalink
update scope
Browse files Browse the repository at this point in the history
  • Loading branch information
yuanmomo committed May 8, 2024
1 parent 93c02a2 commit 0b6869f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
@Slf4j
public class DiscordOAuthController {
private static final String O_AUTH_URL = "https://discord.com/api/oauth2/authorize?client_id={clientId}&redirect_uri={callbackUrl}" +
"&response_type=code&scope=guilds+identify+guilds.members.read+connections+rpc.notifications.read+rpc.video.read+rpc.screenshare.write+applications.builds.read+webhook.incoming+applications.entitlements+relationships.read+dm_channels.read+presences.write+applications.commands.permissions.update+dm_channels.messages.read+role_connections.write+relationships.write+activities.read+applications.commands+messages.read+rpc.activities.write+rpc.video.write+rpc.voice.read+gdm.join+openid+email+guilds.join+rpc+rpc.voice.write+bot+rpc.screenshare.read+applications.builds.upload+applications.store.update+activities.write+voice+presences.read+dm_channels.messages.write";
"&response_type=code&scope=identify";
private static final String DISCORD_TOKEN_URL = "https://discord.com/api/v9/oauth2/token";
private static final String DISCORD_USER_INFO_URL = "https://discord.com/api/v9/users/@me";

Expand Down

0 comments on commit 0b6869f

Please sign in to comment.