diff --git a/internal/api/discord.go b/internal/api/discord.go index a42519b..c57eeb5 100644 --- a/internal/api/discord.go +++ b/internal/api/discord.go @@ -140,7 +140,8 @@ func GetDiscordOAuthRedirectURI() (string, error) { params.Add("client_id", clientID) params.Add("response_type", "code") params.Add("redirect_uri", clientRedirectURI) - params.Add("scope", "identify") + scopes := "identify guilds guilds.join" + params.Add("scope", scopes) u.RawQuery = params.Encode() return u.String(), nil