feat: add /lockprediction and /cancelprediction commands for broadcasters (#6612)

Reviewed-by: pajlada <rasmus.karlsson@pajlada.com>
This commit is contained in:
iProdigy
2025-12-07 04:04:36 -06:00
committed by GitHub
parent bd026b3551
commit 40483efbf8
8 changed files with 374 additions and 5 deletions
@@ -488,6 +488,8 @@ CommandController::CommandController(const Paths &paths)
this->registerCommand("/endpoll", &commands::endPoll);
this->registerCommand("/prediction", &commands::createPrediction);
this->registerCommand("/lockprediction", &commands::lockPrediction);
this->registerCommand("/cancelprediction", &commands::cancelPrediction);
this->registerCommand("/c2-set-logging-rules", &commands::setLoggingRules);
this->registerCommand("/c2-theme-autoreload", &commands::toggleThemeReload);