Skip to content

Commit

Permalink
fuck
Browse files Browse the repository at this point in the history
  • Loading branch information
sebm253 committed Mar 20, 2024
1 parent db2bd88 commit 6f9b2e6
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions oauth2/client_impl.go
Expand Up @@ -55,12 +55,11 @@ func (c *clientImpl) GenerateAuthorizationURL(redirectURI string, permissions di
func (c *clientImpl) GenerateAuthorizationURLState(redirectURI string, permissions discord.Permissions, guildID snowflake.ID, disableGuildSelect bool, integrationType discord.ApplicationIntegrationType, scopes ...discord.OAuth2Scope) (string, string) {
state := c.StateController().NewState(redirectURI)
values := discord.QueryValues{
"client_id": c.id,
"redirect_uri": redirectURI,
"response_type": "code",
"scope": discord.JoinScopes(scopes),
"state": state,
"integration_type": integrationType,
"client_id": c.id,
"redirect_uri": redirectURI,
"response_type": "code",
"scope": discord.JoinScopes(scopes),
"state": state,
}

if permissions != discord.PermissionsNone {
Expand Down

0 comments on commit 6f9b2e6

Please sign in to comment.