about summary refs log tree commit diff
path: root/ExampleBots/PluralContactBotPoC/Bot/AccountData
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2024-01-31 18:50:16 +0100
committerRory& <root@rory.gay>2024-01-31 18:50:16 +0100
commitd133a168c17d605236e967ff63728420ddb0ed98 (patch)
treeac467c42591db6fb6b920682dd54da1f707f8c0c /ExampleBots/PluralContactBotPoC/Bot/AccountData
parentCapabilities (diff)
downloadLibMatrix-d133a168c17d605236e967ff63728420ddb0ed98.tar.xz
Repo split
Diffstat (limited to '')
-rw-r--r--ExampleBots/PluralContactBotPoC/Bot/AccountData/BotData.cs16
-rw-r--r--ExampleBots/PluralContactBotPoC/Bot/AccountData/SystemData.cs15
2 files changed, 0 insertions, 31 deletions
diff --git a/ExampleBots/PluralContactBotPoC/Bot/AccountData/BotData.cs b/ExampleBots/PluralContactBotPoC/Bot/AccountData/BotData.cs
deleted file mode 100644
index 2adcbb3..0000000
--- a/ExampleBots/PluralContactBotPoC/Bot/AccountData/BotData.cs
+++ /dev/null
@@ -1,16 +0,0 @@
-using System.Text.Json.Serialization;
-using LibMatrix.EventTypes;
-using LibMatrix.Interfaces;
-
-namespace PluralContactBotPoC.Bot.AccountData;
-[MatrixEvent(EventName = "gay.rory.plural_contact_bot.bot_config")]
-public class BotData : EventContent {
-    [JsonPropertyName("control_room")]
-    public string ControlRoom { get; set; } = "";
-
-    [JsonPropertyName("log_room")]
-    public string? LogRoom { get; set; } = "";
-
-    [JsonPropertyName("policy_room")]
-    public string? PolicyRoom { get; set; } = "";
-}
diff --git a/ExampleBots/PluralContactBotPoC/Bot/AccountData/SystemData.cs b/ExampleBots/PluralContactBotPoC/Bot/AccountData/SystemData.cs
deleted file mode 100644
index ad8ab1d..0000000
--- a/ExampleBots/PluralContactBotPoC/Bot/AccountData/SystemData.cs
+++ /dev/null
@@ -1,15 +0,0 @@
-using System.Text.Json.Serialization;
-using LibMatrix.EventTypes;
-using LibMatrix.Interfaces;
-
-namespace PluralContactBotPoC.Bot.StateEventTypes;
-
-[MatrixEvent(EventName = "gay.rory.plural_contact_bot.system_data")]
-public class SystemData : EventContent {
-    [JsonPropertyName("control_room")]
-    public required string ControlRoom { get; set; }
-    [JsonPropertyName("system_members")]
-    public List<string> Members { get; set; } = new();
-    [JsonPropertyName("dm_space")]
-    public string? DmSpace { get; set; }
-}