refactor(eventsub): Respect "Hide moderation actions" explicitly (#6041)

This commit is contained in:
pajlada
2025-03-08 14:00:35 +01:00
committed by GitHub
parent 0835064375
commit 77c4d858f9
79 changed files with 153 additions and 125 deletions
+7
View File
@@ -58,6 +58,13 @@ enum class MessageFlag : std::int64_t {
ClearChat = (1LL << 39),
/// The message is built from EventSub
EventSub = (1LL << 40),
/// The message is a moderation action.
/// Example messages that would count as moderation actions:
/// - forsen has been banned
/// - forsen deleted message from forsen
/// - forsen added "blockedterm" as a blocked term
/// - Your message is being checked by mods and has not been sent
ModerationAction = (1LL << 41),
};
using MessageFlags = FlagsEnum<MessageFlag>;