fix: complete Twitch commands with slash (#6143)

This commit is contained in:
nerix
2025-04-11 20:21:28 +02:00
committed by GitHub
parent ab66be21b3
commit 5828df8b73
2 changed files with 36 additions and 35 deletions
+1
View File
@@ -11,6 +11,7 @@
- Bugfix: Fixed missing BetterTTV live updates of emotes. (#6132) - Bugfix: Fixed missing BetterTTV live updates of emotes. (#6132)
- Bugfix: Handle <kbd>CMD</kbd> + <kbd>BACKSPACE</kbd> behavior explicitly in main chat dialog input for macOS. (#6111) - Bugfix: Handle <kbd>CMD</kbd> + <kbd>BACKSPACE</kbd> behavior explicitly in main chat dialog input for macOS. (#6111)
- Bugfix: Fixed a small typo in the settings page. (#6134) - Bugfix: Fixed a small typo in the settings page. (#6134)
- Bugfix: Fixed some Twitch commands not getting tab-completed correctly. (#6143)
- Dev: Conan will no longer generate a `CMakeUserPresets.json` file. (#6117) - Dev: Conan will no longer generate a `CMakeUserPresets.json` file. (#6117)
- Dev: Pass `--force-openssl` when installing from CMake in Qt 6.8+. (#6129) - Dev: Pass `--force-openssl` when installing from CMake in Qt 6.8+. (#6129)
+35 -35
View File
@@ -21,41 +21,41 @@ const std::vector<QColor> TWITCH_USERNAME_COLORS = {
}; };
const QStringList TWITCH_DEFAULT_COMMANDS{ const QStringList TWITCH_DEFAULT_COMMANDS{
"help", "/help",
"w", "/w",
"me", "/me",
"disconnect", "/disconnect",
"mods", "/mods",
"vips", "/vips",
"color", "/color",
"commercial", "/commercial",
"mod", "/mod",
"unmod", "/unmod",
"vip", "/vip",
"unvip", "/unvip",
"ban", "/ban",
"unban", "/unban",
"timeout", "/timeout",
"untimeout", "/untimeout",
"slow", "/slow",
"slowoff", "/slowoff",
"r9kbeta", "/r9kbeta",
"r9kbetaoff", "/r9kbetaoff",
"emoteonly", "/emoteonly",
"emoteonlyoff", "/emoteonlyoff",
"clear", "/clear",
"subscribers", "/subscribers",
"subscribersoff", "/subscribersoff",
"followers", "/followers",
"followersoff", "/followersoff",
"host", "/host",
"unhost", "/unhost",
"raid", "/raid",
"unraid", "/unraid",
"delete", "/delete",
"announce", "/announce",
"requests", "/requests",
"warn", "/warn",
}; };
const QStringList TWITCH_WHISPER_COMMANDS{"/w", ".w"}; const QStringList TWITCH_WHISPER_COMMANDS{"/w", ".w"};