From 7718811a64e3af6eb7ac7384ecbf218631659212 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lera=20Elvo=C3=A9?= Date: Thu, 25 Jan 2024 09:30:58 +0300 Subject: [PATCH] patch NoTwitch to pass scopes after client ID (temporary) --- addons/no_twitch/twitch_connection.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/no_twitch/twitch_connection.gd b/addons/no_twitch/twitch_connection.gd index 6a5de96..9a1a675 100644 --- a/addons/no_twitch/twitch_connection.gd +++ b/addons/no_twitch/twitch_connection.gd @@ -59,7 +59,7 @@ func cache_user_data(): ## Handles the basic Twitch Authentication process to request and then later receive a Token (using [method check_auth_peer]). ## Returns the authentication URL. -func authenticate_with_twitch(scopes : Array[String] = ["chat:read", "chat:edit"], client_id = client_id) -> String: +func authenticate_with_twitch(client_id = client_id, scopes : Array[String] = ["chat:read", "chat:edit"]) -> String: auth_server = TCPServer.new() var url := create_auth_url(scopes) auth_server.listen(int(redirect_port))