feat: add poll and prediction commands for broadcasters (#6583)
Reviewed-by: nerix <nero.9@hotmail.de> Reviewed-by: pajlada <rasmus.karlsson@pajlada.com>
This commit is contained in:
@@ -15,6 +15,8 @@
|
||||
#include "controllers/commands/builtin/twitch/DeleteMessages.hpp"
|
||||
#include "controllers/commands/builtin/twitch/GetModerators.hpp"
|
||||
#include "controllers/commands/builtin/twitch/GetVIPs.hpp"
|
||||
#include "controllers/commands/builtin/twitch/Poll.hpp"
|
||||
#include "controllers/commands/builtin/twitch/Prediction.hpp"
|
||||
#include "controllers/commands/builtin/twitch/Raid.hpp"
|
||||
#include "controllers/commands/builtin/twitch/RemoveModerator.hpp"
|
||||
#include "controllers/commands/builtin/twitch/RemoveVIP.hpp"
|
||||
@@ -481,6 +483,9 @@ CommandController::CommandController(const Paths &paths)
|
||||
|
||||
this->registerCommand("/shoutout", &commands::sendShoutout);
|
||||
|
||||
this->registerCommand("/poll", &commands::createPoll);
|
||||
this->registerCommand("/prediction", &commands::createPrediction);
|
||||
|
||||
this->registerCommand("/c2-set-logging-rules", &commands::setLoggingRules);
|
||||
this->registerCommand("/c2-theme-autoreload", &commands::toggleThemeReload);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user