From d133a168c17d605236e967ff63728420ddb0ed98 Mon Sep 17 00:00:00 2001 From: Rory& Date: Wed, 31 Jan 2024 18:50:16 +0100 Subject: Repo split --- .../PluralContactBotPoC/Bot/AccountData/BotData.cs | 16 ---------------- .../PluralContactBotPoC/Bot/AccountData/SystemData.cs | 15 --------------- 2 files changed, 31 deletions(-) delete mode 100644 ExampleBots/PluralContactBotPoC/Bot/AccountData/BotData.cs delete mode 100644 ExampleBots/PluralContactBotPoC/Bot/AccountData/SystemData.cs (limited to 'ExampleBots/PluralContactBotPoC/Bot/AccountData') 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 Members { get; set; } = new(); - [JsonPropertyName("dm_space")] - public string? DmSpace { get; set; } -} -- cgit 1.4.1