about summary refs log tree commit diff
path: root/ExampleBots/PluralContactBotPoC
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ExampleBots/PluralContactBotPoC/Bot/AccountData/BotData.cs1
-rw-r--r--ExampleBots/PluralContactBotPoC/Bot/AccountData/SystemData.cs3
-rw-r--r--ExampleBots/PluralContactBotPoC/Program.cs2
3 files changed, 1 insertions, 5 deletions
diff --git a/ExampleBots/PluralContactBotPoC/Bot/AccountData/BotData.cs b/ExampleBots/PluralContactBotPoC/Bot/AccountData/BotData.cs
index 5d11432..2adcbb3 100644
--- a/ExampleBots/PluralContactBotPoC/Bot/AccountData/BotData.cs
+++ b/ExampleBots/PluralContactBotPoC/Bot/AccountData/BotData.cs
@@ -1,6 +1,5 @@
 using System.Text.Json.Serialization;
 using LibMatrix.EventTypes;
-using LibMatrix.Helpers;
 using LibMatrix.Interfaces;
 
 namespace PluralContactBotPoC.Bot.AccountData;
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")]
diff --git a/ExampleBots/PluralContactBotPoC/Program.cs b/ExampleBots/PluralContactBotPoC/Program.cs
index f8d93c6..f65f2e9 100644
--- a/ExampleBots/PluralContactBotPoC/Program.cs
+++ b/ExampleBots/PluralContactBotPoC/Program.cs
@@ -1,13 +1,11 @@
 // See https://aka.ms/new-console-template for more information
 
 using System.Text.Json;
-using System.Text.Json.Serialization;
 using ArcaneLibs.Extensions;
 using LibMatrix.Services;
 using LibMatrix.Utilities.Bot;
 using Microsoft.Extensions.DependencyInjection;
 using Microsoft.Extensions.Hosting;
-using PluralContactBotPoC;
 using PluralContactBotPoC.Bot;
 
 Console.WriteLine("Hello, World!");