Repository navigation
Reference Script Functions Polypop
Kristopher Barrantes edited this page Nov 1, 2026
·
2 revisions
Also on the Cuebot Docs site.
Functions for C# (Cb.Call) and Python (cb.call). See Script functions for how to use them.
Checks whether PolyPop is connected to Cuebot right now (at least one Cuebot plugin in PolyPop).
Gives back: true while at least one PolyPop plugin is connected, otherwise false.
C#
var answer = await Cb.Call("polypop.isConnected");Python
answer = cb.call("polypop.isConnected")Sets off a WebSocket Alert in PolyPop and hands it some words to show. Fails with an error when PolyPop is not connected.
| Value | What to put in |
|---|---|
alertName |
The alert's name as set in PolyPop, like "Follow". Needed. |
variables |
Optional. Words for the alert to use, like {"user": "CoolViewer"}. Every value is sent as text. |
Gives back: How many PolyPop plugins got the alert.
C#
var answer = await Cb.Call("polypop.triggerAlert", new { alertName = "Follow", variables = new { user = "CoolViewer" } });Python
answer = cb.call("polypop.triggerAlert", alertName="Follow", variables={"user": "CoolViewer"})Cuebot by Tech Daddy Digital · MIT license · Privacy
Cuebot Docs (the same pages, nicer to read)
- Home
- Start here
-
Guides
- Chat commands
- The mod portal
- 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