From 5828df8b734a59dbcdf984ecdf49cb894e0a0695 Mon Sep 17 00:00:00 2001 From: nerix Date: Fri, 11 Apr 2025 20:21:28 +0200 Subject: [PATCH] fix: complete Twitch commands with slash (#6143) --- CHANGELOG.md | 1 + src/providers/twitch/TwitchCommon.cpp | 70 +++++++++++++-------------- 2 files changed, 36 insertions(+), 35 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 755c4f83..74b021bf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ - Bugfix: Fixed missing BetterTTV live updates of emotes. (#6132) - Bugfix: Handle CMD + BACKSPACE behavior explicitly in main chat dialog input for macOS. (#6111) - 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: Pass `--force-openssl` when installing from CMake in Qt 6.8+. (#6129) diff --git a/src/providers/twitch/TwitchCommon.cpp b/src/providers/twitch/TwitchCommon.cpp index 91d09e6a..1be7ef58 100644 --- a/src/providers/twitch/TwitchCommon.cpp +++ b/src/providers/twitch/TwitchCommon.cpp @@ -21,41 +21,41 @@ const std::vector TWITCH_USERNAME_COLORS = { }; const QStringList TWITCH_DEFAULT_COMMANDS{ - "help", - "w", - "me", - "disconnect", - "mods", - "vips", - "color", - "commercial", - "mod", - "unmod", - "vip", - "unvip", - "ban", - "unban", - "timeout", - "untimeout", - "slow", - "slowoff", - "r9kbeta", - "r9kbetaoff", - "emoteonly", - "emoteonlyoff", - "clear", - "subscribers", - "subscribersoff", - "followers", - "followersoff", - "host", - "unhost", - "raid", - "unraid", - "delete", - "announce", - "requests", - "warn", + "/help", + "/w", + "/me", + "/disconnect", + "/mods", + "/vips", + "/color", + "/commercial", + "/mod", + "/unmod", + "/vip", + "/unvip", + "/ban", + "/unban", + "/timeout", + "/untimeout", + "/slow", + "/slowoff", + "/r9kbeta", + "/r9kbetaoff", + "/emoteonly", + "/emoteonlyoff", + "/clear", + "/subscribers", + "/subscribersoff", + "/followers", + "/followersoff", + "/host", + "/unhost", + "/raid", + "/unraid", + "/delete", + "/announce", + "/requests", + "/warn", }; const QStringList TWITCH_WHISPER_COMMANDS{"/w", ".w"};