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