about summary refs log tree commit diff
path: root/ExampleBots/MediaModeratorPoC/MediaModBotConfiguration.cs
blob: cb5b596268c1f9399bf4f28fe3c54e7413bf6e25 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
using Microsoft.Extensions.Configuration;

namespace MediaModeratorPoC;

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;
}