Repository navigation
Reference Script Functions
Also on the Cuebot Docs site.
Script functions are Cuebot's own tools for code. C# and Python can both use them. Each one has a name, like speech.speak, and takes named values, like text.
// C#: await the call; the answer is JSON
var answer = await Cb.Call("speech.speak", new { text = "Hello!" });# Python: no await needed, and every function has its own method
answer = cb.speech_speak(text="Hello!")In C#, Cb.Call works in plain C# code. Inside a Streamer.bot-style CPHInline class, use the CPH methods instead. See Writing code (C# and Python) for whole examples.
In Python every function is also a method of cb, named after it in Python style: vtubestudio.moveModel is cb.vtubestudio_move_model(...), and its value positionX is position_x. Values marked Optional can be left out; the others can also be given in order, like cb.twitch_send_message("Hi!"). A value of None counts as left out. cb.call("vtubestudio.moveModel", positionX=0.5) still works too.
help(cb.vtubestudio_move_model) in your code prints a method's help. For completion in a code editor such as VS Code, download cuebot.pyi and put it next to your script.
| Area | Functions |
|---|---|
| Actions | 1 |
| Arguments | 3 |
| Game controllers | 7 |
| Credits | 4 |
| Crowd Control | 3 |
| Desktop | 3 |
| DonorDrive | 3 |
| Elgato | 15 |
| Emotes | 3 |
| Global variables | 6 |
| Goals | 6 |
| GoXLR | 20 |
| Groups | 9 |
| Heart rate | 1 |
| Hotkeys | 2 |
| HypeRate | 1 |
| Keyboard and mouse | 2 |
| Kick | 10 |
| Log | 1 |
| Lumia Stream | 13 |
| Meld Studio | 19 |
| MIDI | 12 |
| mtion studio | 5 |
| Now playing | 2 |
| OBS | 5 |
| OBSBOT | 8 |
| Pally.gg | 2 |
| Points | 13 |
| PolyPop | 2 |
| Pronouns | 1 |
| Pulsoid | 1 |
| Quotes | 8 |
| Remote instances | 3 |
| Rumble | 1 |
| Streamlabs Desktop | 2 |
| Speech | 10 |
| Spending | 6 |
| Spotify | 2 |
| Stream Deck | 9 |
| StreamElements | 7 |
| Streamlabs | 2 |
| Streamloots | 2 |
| Subathon | 9 |
| Text | 1 |
| TipeeeStream | 2 |
| T.I.T.S. | 9 |
| Import and export | 1 |
| TreatStream | 2 |
| Twitch | 118 |
| User variables | 7 |
| Voice control | 10 |
| Voicemod | 14 |
| VTube Studio | 10 |
| Wave Link | 25 |
| Webhooks | 2 |
| WebSocket | 13 |
| YouTube | 25 |
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
