From 44d4e6f9b5881fdccdb1b08dc5a49d6ee8785c15 Mon Sep 17 00:00:00 2001 From: Loren Burkholder Date: Tue, 21 Mar 2023 19:44:00 -0400 Subject: Allow sending custom msgtypes --- src/CommandCompleter.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/CommandCompleter.cpp') 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 [message]"); case Goto: return tr("/goto "); 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: -- cgit 1.5.1