Added Connections._twitch_eventsub_event_received

Handles sending the necessary event whenever an eventsub event is received
This commit is contained in:
Eroax 2024-01-26 03:31:52 -07:00
parent 616f0646b4
commit a5780017c7

View file

@ -6,6 +6,11 @@ class_name Connections
static var obs_websocket
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):
DeckHolder.send_event(&"twitch_chat", msg_dict)