Repository navigation
Reference Script Functions Treatstream
Kristopher Barrantes edited this page Nov 5, 2026
·
2 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.
Checks whether Cuebot is connected to TreatStream right now.
Gives back: true while connected, otherwise false.
C#
var answer = await Cb.Call("treatstream.isConnected");Python
answer = cb.treatstream_is_connected()Fakes a TreatStream treat inside Cuebot, so you can test your triggers. Nothing is sent to TreatStream and it works without a connection.
| Value | In Python | What to put in |
|---|---|---|
kind |
kind |
Optional. Which event. Only "treat" exists, and it is the default. |
Gives back: true when the test treat was sent, false when the kind is unknown.
C#
var answer = await Cb.Call("treatstream.sendTestEvent");Python
answer = cb.treatstream_send_test_event()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
