mirror of
https://codeberg.org/StreamGraph/StreamGraph.git
synced 2024-11-13 19:49:55 +01:00
Added Timeout Duration to NoTwitch.TwitchConnection when calling EventSub_Socket
This commit is contained in:
parent
54dbcb7724
commit
4a40b48ab5
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue