From a5780017c76f4bcdb3a7655919b72c250ddb2c81 Mon Sep 17 00:00:00 2001 From: Eroax Date: Fri, 26 Jan 2024 03:31:52 -0700 Subject: [PATCH] Added Connections._twitch_eventsub_event_received Handles sending the necessary event whenever an eventsub event is received --- classes/connections/connections.gd | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/classes/connections/connections.gd b/classes/connections/connections.gd index e1d2606..bf0d70b 100644 --- a/classes/connections/connections.gd +++ b/classes/connections/connections.gd @@ -4,7 +4,12 @@ class_name Connections static var obs_websocket -static var twitch +static var twitch + +static func _twitch_eventsub_event_received(event_data : Dictionary): + + DeckHolder.send_event(&"twitch_eventsub", event_data) + static func _twitch_chat_received(msg_dict : Dictionary):