summary refs log tree commit diff
path: root/src/CommandCompleter.cpp
diff options
context:
space:
mode:
authorDeepBlueV7.X <nicolas.werner@hotmail.de>2024-03-02 00:44:12 +0000
committerGitHub <noreply@github.com>2024-03-02 00:44:12 +0000
commitb076b5b0ce0cf29b973f3396a8166680b35ccd87 (patch)
tree74bc4b38892a3684143a7d8ef0ed6a1d1f753117 /src/CommandCompleter.cpp
parentFix binding loop warning (diff)
parentAdd a warning that glitching text can, shockingly, corrupt your message (diff)
downloadnheko-b076b5b0ce0cf29b973f3396a8166680b35ccd87.tar.xz
Merge pull request #1688 from Nheko-Reborn/glitchtext
Add a glitch text command
Diffstat (limited to 'src/CommandCompleter.cpp')
-rw-r--r--src/CommandCompleter.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/CommandCompleter.cpp b/src/CommandCompleter.cpp

index ee666559..33e7ef2c 100644 --- a/src/CommandCompleter.cpp +++ b/src/CommandCompleter.cpp
@@ -91,6 +91,10 @@ CommandCompleter::data(const QModelIndex &index, int role) const return QStringLiteral("/rainfall "); case Msgtype: return QStringLiteral("/msgtype "); + case Glitch: + return QStringLiteral("/glitch "); + case GradualGlitch: + return QStringLiteral("/gradualglitch "); case Goto: return QStringLiteral("/goto "); case ConvertToDm: @@ -170,6 +174,10 @@ CommandCompleter::data(const QModelIndex &index, int role) const return tr("/msgtype <msgtype> [message]"); case Goto: return tr("/goto <message reference>"); + case Glitch: + return tr("/glitch <message>"); + case GradualGlitch: + return tr("/gradualglitch <message>"); case ConvertToDm: return QStringLiteral("/converttodm"); case ConvertToRoom: @@ -245,6 +253,10 @@ CommandCompleter::data(const QModelIndex &index, int role) const return tr("Send a message with rain."); case Msgtype: return tr("Send a message with a custom message type."); + case Glitch: + return tr("Send a message with a glitch effect."); + case GradualGlitch: + return tr("Send a message that gradually glitches."); case Goto: return tr("Go to a specific message using an event id, index or matrix: link"); case ConvertToDm: