mirror of
https://codeberg.org/StreamGraph/StreamGraph.git
synced 2024-11-13 19:49:55 +01:00
Added Connections._twitch_eventsub_event_received
Handles sending the necessary event whenever an eventsub event is received
This commit is contained in:
parent
616f0646b4
commit
a5780017c7
1 changed files with 6 additions and 1 deletions
|
@ -6,6 +6,11 @@ class_name Connections
|
||||||
static var obs_websocket
|
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):
|
static func _twitch_chat_received(msg_dict : Dictionary):
|
||||||
|
|
||||||
DeckHolder.send_event(&"twitch_chat", msg_dict)
|
DeckHolder.send_event(&"twitch_chat", msg_dict)
|
||||||
|
|
Loading…
Reference in a new issue