Streamlabs script functions¶
Functions for C# (Cb.Call) and Python (cb.call). See Script functions for how to use them.
streamlabs.isConnected¶
Checks whether Cuebot is connected to Streamlabs right now.
Gives back: true while connected, otherwise false.
var answer = await Cb.Call("streamlabs.isConnected");
answer = cb.call("streamlabs.isConnected")
streamlabs.sendTestEvent¶
Fakes a Streamlabs event inside Cuebot, so you can test your triggers. Nothing is sent to Streamlabs and it works without a connection.
| Value | What to put in |
|---|---|
kind |
Optional. Which event: "donation", "charity", "merch" or "loyalty". Default "donation". |
Gives back: true when the test event was sent, false when the kind is unknown.
var answer = await Cb.Call("streamlabs.sendTestEvent", new { kind = "donation" });
answer = cb.call("streamlabs.sendTestEvent", kind="donation")