summary refs log tree commit diff
path: root/src/CommandCompleter.cpp
diff options
context:
space:
mode:
authorLoren Burkholder <computersemiexpert@outlook.com>2023-03-21 19:44:00 -0400
committerLoren Burkholder <computersemiexpert@outlook.com>2023-04-08 18:59:17 -0400
commit44d4e6f9b5881fdccdb1b08dc5a49d6ee8785c15 (patch)
tree568b95900fdadcd76af2e2e2ddcc136c091586c2 /src/CommandCompleter.cpp
parentAdd rainfall effect (diff)
downloadnheko-44d4e6f9b5881fdccdb1b08dc5a49d6ee8785c15.tar.xz
Allow sending custom msgtypes
Diffstat (limited to '')
-rw-r--r--src/CommandCompleter.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/CommandCompleter.cpp b/src/CommandCompleter.cpp

index a0fb101d..c4674315 100644 --- a/src/CommandCompleter.cpp +++ b/src/CommandCompleter.cpp
@@ -91,6 +91,8 @@ CommandCompleter::data(const QModelIndex &index, int role) const return QStringLiteral("/rainfall "); case RainbowRain: return QStringLiteral("/rainbowrain "); + case Msgtype: + return QStringLiteral("/msgtype "); case Goto: return QStringLiteral("/goto "); case ConvertToDm: @@ -164,6 +166,8 @@ CommandCompleter::data(const QModelIndex &index, int role) const return tr("/rainfall [message]"); case RainbowRain: return tr("/rainbowrain [message]"); + case Msgtype: + return tr("/msgtype <msgtype> [message]"); case Goto: return tr("/goto <message reference>"); case ConvertToDm: @@ -237,6 +241,8 @@ CommandCompleter::data(const QModelIndex &index, int role) const return tr("Send a message with rain."); case RainbowRain: return tr("Send a message in rainbow colors with rain."); + case Msgtype: + return tr("Send a message with a custom message type."); case Goto: return tr("Go to a specific message using an event id, index or matrix: link"); case ConvertToDm: