about summary refs log tree commit diff
path: root/ExampleBots/ModerationBot/AccountData
diff options
context:
space:
mode:
authorEmma [it/its]@Rory& <root@rory.gay>2023-11-23 05:42:33 +0100
committerEmma [it/its]@Rory& <root@rory.gay>2023-11-23 05:42:33 +0100
commit3e934eee892f69a8f78b94950993000522702769 (patch)
tree6aa0d3d26c9a07a7a3e097fe28abb785400bfbd6 /ExampleBots/ModerationBot/AccountData
parentAdd license retroactively, matching where the code originated from (MatrixRoo... (diff)
downloadLibMatrix-bak-3e934eee892f69a8f78b94950993000522702769.tar.xz
Moderation bot work
Diffstat (limited to 'ExampleBots/ModerationBot/AccountData')
-rw-r--r--ExampleBots/ModerationBot/AccountData/BotData.cs14
1 files changed, 14 insertions, 0 deletions
diff --git a/ExampleBots/ModerationBot/AccountData/BotData.cs b/ExampleBots/ModerationBot/AccountData/BotData.cs
new file mode 100644

index 0000000..df86589 --- /dev/null +++ b/ExampleBots/ModerationBot/AccountData/BotData.cs
@@ -0,0 +1,14 @@ +using System.Text.Json.Serialization; + +namespace ModerationBot.AccountData; + +public class BotData { + [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