diff options
author | TheArcaneBrony <myrainbowdash949@gmail.com> | 2023-10-06 18:29:15 +0200 |
---|---|---|
committer | TheArcaneBrony <myrainbowdash949@gmail.com> | 2023-10-06 18:29:15 +0200 |
commit | e5591eef3850a9796cc87386128651a828b70697 (patch) | |
tree | 7e501ec749229a3d96838265289266bb6f6ce208 /ExampleBots/MediaModeratorPoC/Bot/MediaModBotConfiguration.cs | |
parent | Unit tests, small refactors (diff) | |
download | LibMatrix-e5591eef3850a9796cc87386128651a828b70697.tar.xz |
Small refactors
Diffstat (limited to 'ExampleBots/MediaModeratorPoC/Bot/MediaModBotConfiguration.cs')
-rw-r--r-- | ExampleBots/MediaModeratorPoC/Bot/MediaModBotConfiguration.cs | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/ExampleBots/MediaModeratorPoC/Bot/MediaModBotConfiguration.cs b/ExampleBots/MediaModeratorPoC/Bot/MediaModBotConfiguration.cs deleted file mode 100644 index d848abe..0000000 --- a/ExampleBots/MediaModeratorPoC/Bot/MediaModBotConfiguration.cs +++ /dev/null @@ -1,10 +0,0 @@ -using Microsoft.Extensions.Configuration; - -namespace MediaModeratorPoC.Bot; - -public class MediaModBotConfiguration { - public MediaModBotConfiguration(IConfiguration config) => config.GetRequiredSection("MediaMod").Bind(this); - - public List<string> Admins { get; set; } = new(); - public bool DemoMode { get; set; } = false; -} |