patch NoTwitch to pass scopes after client ID (temporary)

This commit is contained in:
Lera Elvoé 2024-01-25 09:30:58 +03:00
parent b04c2c4be7
commit 7718811a64
No known key found for this signature in database

View file

@ -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))