about summary refs log tree commit diff
path: root/ExampleBots/ModerationBot/ModerationBotConfiguration.cs
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/ModerationBot/ModerationBotConfiguration.cs
parentCapabilities (diff)
downloadLibMatrix-d133a168c17d605236e967ff63728420ddb0ed98.tar.xz
Repo split
Diffstat (limited to '')
-rw-r--r--ExampleBots/ModerationBot/ModerationBotConfiguration.cs10
1 files changed, 0 insertions, 10 deletions
diff --git a/ExampleBots/ModerationBot/ModerationBotConfiguration.cs b/ExampleBots/ModerationBot/ModerationBotConfiguration.cs
deleted file mode 100644
index 415b581..0000000
--- a/ExampleBots/ModerationBot/ModerationBotConfiguration.cs
+++ /dev/null
@@ -1,10 +0,0 @@
-using Microsoft.Extensions.Configuration;
-
-namespace ModerationBot;
-
-public class ModerationBotConfiguration {
-    public ModerationBotConfiguration(IConfiguration config) => config.GetRequiredSection("ModerationBot").Bind(this);
-
-    public List<string> Admins { get; set; } = new();
-    public bool DemoMode { get; set; } = false;
-}