From 428cbb0293284c6a60ee453ed718c1ca195f530d Mon Sep 17 00:00:00 2001 From: mlnrDev Date: Wed, 20 Mar 2024 20:22:38 +0100 Subject: [PATCH] mention integrationType in docs --- oauth2/client.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/oauth2/client.go b/oauth2/client.go index c7a83ee5..4c826baa 100644 --- a/oauth2/client.go +++ b/oauth2/client.go @@ -58,9 +58,9 @@ type Client interface { // StateController returns the configured StateController. StateController() StateController - // GenerateAuthorizationURL generates an authorization URL with the given redirect URI, permissions, guildID, disableGuildSelect & scopes. State is automatically generated. + // GenerateAuthorizationURL generates an authorization URL with the given redirect URI, permissions, guildID, disableGuildSelect, integrationType & scopes. State is automatically generated. GenerateAuthorizationURL(redirectURI string, permissions discord.Permissions, guildID snowflake.ID, disableGuildSelect bool, integrationType discord.ApplicationIntegrationType, scopes ...discord.OAuth2Scope) string - // GenerateAuthorizationURLState generates an authorization URL with the given redirect URI, permissions, guildID, disableGuildSelect & scopes. State is automatically generated & returned. + // GenerateAuthorizationURLState generates an authorization URL with the given redirect URI, permissions, guildID, disableGuildSelect, integrationType & scopes. State is automatically generated & returned. GenerateAuthorizationURLState(redirectURI string, permissions discord.Permissions, guildID snowflake.ID, disableGuildSelect bool, integrationType discord.ApplicationIntegrationType, scopes ...discord.OAuth2Scope) (string, string) // StartSession starts a new Session with the given authorization code & state.