about summary refs log tree commit diff
path: root/ExampleBots/MediaModeratorPoC/Bot/MediaModBotConfiguration.cs
diff options
context:
space:
mode:
Diffstat (limited to 'ExampleBots/MediaModeratorPoC/Bot/MediaModBotConfiguration.cs')
-rw-r--r--ExampleBots/MediaModeratorPoC/Bot/MediaModBotConfiguration.cs9
1 files changed, 3 insertions, 6 deletions
diff --git a/ExampleBots/MediaModeratorPoC/Bot/MediaModBotConfiguration.cs b/ExampleBots/MediaModeratorPoC/Bot/MediaModBotConfiguration.cs
index c441e2a..d848abe 100644
--- a/ExampleBots/MediaModeratorPoC/Bot/MediaModBotConfiguration.cs
+++ b/ExampleBots/MediaModeratorPoC/Bot/MediaModBotConfiguration.cs
@@ -3,11 +3,8 @@ using Microsoft.Extensions.Configuration;
 namespace MediaModeratorPoC.Bot;
 
 public class MediaModBotConfiguration {
-    public MediaModBotConfiguration(IConfiguration config) {
-        config.GetRequiredSection("MediaMod").Bind(this);
-    }
-    public string Homeserver { get; set; } = "";
-    public string AccessToken { get; set; } = "";
-    public string Prefix { get; set; }
+    public MediaModBotConfiguration(IConfiguration config) => config.GetRequiredSection("MediaMod").Bind(this);
+
     public List<string> Admins { get; set; } = new();
+    public bool DemoMode { get; set; } = false;
 }