diff --git a/CHANGELOG.md b/CHANGELOG.md index 1c5b2d992..5d6b9738e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ - Minor: Added the ability to open an entire tab as a popup. (#3082) - Minor: Added optional parameter to /usercard command for opening a usercard in a different channel context. (#3172) - Minor: Added regex option to Nicknames. (#3146) +- Minor: Added `/raw` command. (#3189) - Minor: Colorizing usernames on IRC, originally made for Mm2PL/dankerino (#3206) - Bugfix: Fixed colored usernames sometimes not working. (#3170) - Bugfix: Restored ability to send duplicate `/me` messages. (#3166) diff --git a/src/controllers/commands/CommandController.cpp b/src/controllers/commands/CommandController.cpp index 82beac036..14090f58d 100644 --- a/src/controllers/commands/CommandController.cpp +++ b/src/controllers/commands/CommandController.cpp @@ -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()