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