Repository navigation
Reference Script Functions Slobs
Kristopher Barrantes edited this page Nov 5, 2026
·
3 revisions
Also on the Cuebot Docs site.
Functions for C# (Cb.Call) and Python (a cb method each, or cb.call). See Script functions for how to use them.
Sends any Remote Control command to Streamlabs Desktop and gives back its answer. For advanced users. Fails with an error when Streamlabs Desktop is not connected.
| Value | In Python | What to put in |
|---|---|---|
resource |
resource |
The part of Streamlabs Desktop to talk to, like "ScenesService" or "StreamingService". Needed. |
method |
method |
The command name, like "getScenes" or "toggleStreaming". Needed. |
args |
args |
Optional. A list of values the command needs, like ["Gameplay"]. |
Gives back: Streamlabs Desktop's answer for that command.
C#
var answer = await Cb.Call("slobs.call", new { resource = "ScenesService", method = "getScenes" });Python
answer = cb.slobs_call(resource="ScenesService", method="getScenes")Checks whether Cuebot is connected to Streamlabs Desktop right now. Use it before slobs.call to skip the call when Streamlabs Desktop is closed.
Gives back: true when it is connected, otherwise false.
C#
var answer = await Cb.Call("slobs.isConnected");Python
answer = cb.slobs_is_connected()Cuebot by Tech Daddy Digital · MIT license · Privacy
Cuebot Docs (the same pages, nicer to read)
- Home
- Start here
-
Guides
- Chat commands
- Overlays and alerts
- Writing your own overlay widgets
- Text-to-speech
- Music and now playing
- Points, store and giveaways
- Subathons and goals
- Stream apps and devices
- VTuber apps
- Stream Deck
- The phone app
- Donations and integrations
- Discord bot
- The setup assistant and AI tools
- The assistant on your own computer
- Moving from Streamer.bot
- Cuebot's servers
- Writing code (C# and Python)
- Python in detail
- Using your own code editor
- Controlling Cuebot from other programs
- Backups and your data
- Linux
- Command-line options
- Troubleshooting
- What's experimental
- Reference
