about summary refs log tree commit diff
path: root/ExampleBots/MediaModeratorPoC/Bot/MediaModBotConfiguration.cs
blob: d848abe424a5b798a90dff8b861c00c5f275ab98 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
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;
}