about summary refs log tree commit diff
path: root/ExampleBots/ModerationBot/StateEventTypes/Policies/Implementations/MessagePolicyContainsText.cs
blob: daac16208d07f689f998841b63ba159f49475eae (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
using System.Text.Json.Serialization;
using LibMatrix.EventTypes;

namespace ModerationBot.StateEventTypes.Policies.Implementations;

/// <summary>
///     Text contains policy event, entity is the text to contain.
/// </summary>
[MatrixEvent(EventName = "gay.rory.moderation.rule.text.contains")]
public class MessagePolicyContainsText : BasePolicy {
}