Added /raw command (#3189)

It makes it possible to send raw data to write connection

Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
This commit is contained in:
Paweł
2021-08-30 21:41:10 +02:00
committed by GitHub
parent 5f8106e9fc
commit 86222976ad
2 changed files with 6 additions and 0 deletions
@@ -797,6 +797,11 @@ void CommandController::initialize(Settings &, Paths &paths)
return "";
});
this->registerCommand("/raw", [](const QStringList &words, ChannelPtr) {
getApp()->twitch2->sendRawMessage(words.mid(1).join(" "));
return "";
});
}
void CommandController::save()