Automod info (#2744)

Co-authored-by: Sidd <iProdigy@users.noreply.github.com>
This commit is contained in:
apa420
2021-05-08 14:49:30 +02:00
committed by GitHub
parent c40bdf812b
commit bb73069817
7 changed files with 98 additions and 1 deletions
+2
View File
@@ -11,6 +11,7 @@ struct BanAction;
struct UnbanAction;
struct AutomodAction;
struct AutomodUserAction;
struct AutomodInfoAction;
struct Message;
using MessagePtr = std::shared_ptr<const Message>;
@@ -25,6 +26,7 @@ MessagePtr makeSystemMessage(const QString &text);
MessagePtr makeSystemMessage(const QString &text, const QTime &time);
std::pair<MessagePtr, MessagePtr> makeAutomodMessage(
const AutomodAction &action);
MessagePtr makeAutomodInfoMessage(const AutomodInfoAction &action);
struct MessageParseArgs {
bool disablePingSounds = false;