From af6d1c7e11b2e9b4108ae8b693650b2a18cd2001 Mon Sep 17 00:00:00 2001 From: Rory& Date: Thu, 30 Oct 2025 02:49:12 +0100 Subject: Old work --- ModerationBot/PolicyList.cs | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 ModerationBot/PolicyList.cs (limited to 'ModerationBot/PolicyList.cs') diff --git a/ModerationBot/PolicyList.cs b/ModerationBot/PolicyList.cs new file mode 100644 index 0000000..f291c7b --- /dev/null +++ b/ModerationBot/PolicyList.cs @@ -0,0 +1,16 @@ +using System.Text.Json.Serialization; +using LibMatrix; +using LibMatrix.RoomTypes; + +namespace ModerationBot; + +public class PolicyList { + [JsonIgnore] + public GenericRoom Room { get; set; } + + [JsonPropertyName("trusted")] + public bool Trusted { get; set; } = false; + + [JsonIgnore] + public List Policies { get; set; } = new(); +} -- cgit 1.5.1