From 4a40b48ab5986fb0ace86b4c4b711cd84cc1bca4 Mon Sep 17 00:00:00 2001 From: Eroax Date: Fri, 9 Feb 2024 02:05:55 -0700 Subject: [PATCH] Added Timeout Duration to NoTwitch.TwitchConnection when calling EventSub_Socket --- 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 a5beafd..0d73b61 100644 --- a/addons/no_twitch/twitch_connection.gd +++ b/addons/no_twitch/twitch_connection.gd @@ -98,7 +98,7 @@ func send_chat(msg : String, channel : String = ""): ## Sets up an EventSub connection to allow subscribing to EventSub events. Ex. Alerts, Channel Point Redemptions etc. func setup_eventsub_connection(events : Array[EventSub_Subscription] = [], timeout_duration : int = 20): - eventsub_socket = eventsub_socket_class.new(self) + eventsub_socket = eventsub_socket_class.new(self, timeout_duration) var ret = await eventsub_socket.connect_to_eventsub(events) return ret