feat: add /warn command (#5474)
This commit is contained in:
@@ -26,6 +26,7 @@
|
||||
#include "controllers/commands/builtin/twitch/Unban.hpp"
|
||||
#include "controllers/commands/builtin/twitch/UpdateChannel.hpp"
|
||||
#include "controllers/commands/builtin/twitch/UpdateColor.hpp"
|
||||
#include "controllers/commands/builtin/twitch/Warn.hpp"
|
||||
#include "controllers/commands/Command.hpp"
|
||||
#include "controllers/commands/CommandContext.hpp"
|
||||
#include "controllers/commands/CommandModel.hpp"
|
||||
@@ -439,6 +440,8 @@ void CommandController::initialize(Settings &, const Paths &paths)
|
||||
this->registerCommand("/ban", &commands::sendBan);
|
||||
this->registerCommand("/banid", &commands::sendBanById);
|
||||
|
||||
this->registerCommand("/warn", &commands::sendWarn);
|
||||
|
||||
for (const auto &cmd : TWITCH_WHISPER_COMMANDS)
|
||||
{
|
||||
this->registerCommand(cmd, &commands::sendWhisper);
|
||||
|
||||
Reference in New Issue
Block a user