about summary refs log tree commit diff
path: root/ExampleBots/PluralContactBotPoC/Bot/AccountData/SystemData.cs
diff options
context:
space:
mode:
authorEmma [it/its]@Rory& <root@rory.gay>2023-12-14 07:20:46 +0100
committerEmma [it/its]@Rory& <root@rory.gay>2023-12-14 07:20:46 +0100
commit5affd9f061e75f6575a2fe6715f9e8757cfe87e8 (patch)
tree13ea35ce981094a960746777a16dff8815c45e55 /ExampleBots/PluralContactBotPoC/Bot/AccountData/SystemData.cs
parentTemp state (diff)
downloadLibMatrix-5affd9f061e75f6575a2fe6715f9e8757cfe87e8.tar.xz
Cleanup
Diffstat (limited to 'ExampleBots/PluralContactBotPoC/Bot/AccountData/SystemData.cs')
-rw-r--r--ExampleBots/PluralContactBotPoC/Bot/AccountData/SystemData.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/ExampleBots/PluralContactBotPoC/Bot/AccountData/SystemData.cs b/ExampleBots/PluralContactBotPoC/Bot/AccountData/SystemData.cs
index 42edd23..ad8ab1d 100644
--- a/ExampleBots/PluralContactBotPoC/Bot/AccountData/SystemData.cs
+++ b/ExampleBots/PluralContactBotPoC/Bot/AccountData/SystemData.cs
@@ -1,6 +1,5 @@
 using System.Text.Json.Serialization;
 using LibMatrix.EventTypes;
-using LibMatrix.Helpers;
 using LibMatrix.Interfaces;
 
 namespace PluralContactBotPoC.Bot.StateEventTypes;
@@ -8,7 +7,7 @@ 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!;
+    public required string ControlRoom { get; set; }
     [JsonPropertyName("system_members")]
     public List<string> Members { get; set; } = new();
     [JsonPropertyName("dm_space")]