From af6d1c7e11b2e9b4108ae8b693650b2a18cd2001 Mon Sep 17 00:00:00 2001 From: Rory& Date: Thu, 30 Oct 2025 02:49:12 +0100 Subject: Old work --- ModerationBot/AccountData/BotData.cs | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 ModerationBot/AccountData/BotData.cs (limited to 'ModerationBot/AccountData/BotData.cs') diff --git a/ModerationBot/AccountData/BotData.cs b/ModerationBot/AccountData/BotData.cs new file mode 100644 index 0000000..de52679 --- /dev/null +++ b/ModerationBot/AccountData/BotData.cs @@ -0,0 +1,18 @@ +using System.Text.Json.Serialization; +using LibMatrix.EventTypes; + +namespace ModerationBot.AccountData; + +[MatrixEvent(EventName = EventId)] +public class BotData { + public const string EventId = "gay.rory.moderation_bot_data"; + + [JsonPropertyName("control_room")] + public string? ControlRoom { get; set; } = ""; + + [JsonPropertyName("log_room")] + public string? LogRoom { get; set; } = ""; + + [JsonPropertyName("default_policy_room")] + public string? DefaultPolicyRoom { get; set; } +} \ No newline at end of file -- cgit 1.5.1