about summary refs log tree commit diff
path: root/Bot/AccountData/SystemData.cs
diff options
context:
space:
mode:
authorTheArcaneBrony <myrainbowdash949@gmail.com>2023-09-15 09:50:45 +0200
committerTheArcaneBrony <myrainbowdash949@gmail.com>2023-09-15 09:50:45 +0200
commitc2e8f573f5ee5803bf18e6068d801dfe5bb71a79 (patch)
treec201f76a2f82c16538a4e4fc1edc203b1ca6c901 /Bot/AccountData/SystemData.cs
downloadPluralContactBotPoC-c2e8f573f5ee5803bf18e6068d801dfe5bb71a79.tar.xz
Some refactoring
Diffstat (limited to 'Bot/AccountData/SystemData.cs')
-rw-r--r--Bot/AccountData/SystemData.cs15
1 files changed, 15 insertions, 0 deletions
diff --git a/Bot/AccountData/SystemData.cs b/Bot/AccountData/SystemData.cs
new file mode 100644

index 0000000..5edfc0e --- /dev/null +++ b/Bot/AccountData/SystemData.cs
@@ -0,0 +1,15 @@ +using System.Text.Json.Serialization; +using LibMatrix.Helpers; +using LibMatrix.Interfaces; + +namespace PluralContactBotPoC.Bot.StateEventTypes; + +[MatrixEvent(EventName = "gay.rory.plural_contact_bot.system_data")] +public class SystemData : EventContent { + [JsonPropertyName("control_room")] + public string ControlRoom { get; set; } = null!; + [JsonPropertyName("system_members")] + public List<string> Members { get; set; } = new(); + [JsonPropertyName("dm_space")] + public string? DmSpace { get; set; } +}