Repository navigation
Reference Script Functions Polypop
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 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.polypop_is_connected()Sets off a WebSocket Alert in PolyPop and hands it some words to show. Fails with an error when PolyPop is not connected.
| Value | In Python | What to put in |
|---|---|---|
alertName |
alert_name |
The alert's name as set in PolyPop, like "Follow". Needed. |
variables |
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.polypop_trigger_alert(alert_name="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
