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

namespace MediaModeratorPoC.Bot;

public class MediaModBotConfiguration {
    public MediaModBotConfiguration(IConfiguration config) {
        config.GetRequiredSection("MediaMod").Bind(this);
    }
    public string Homeserver { get; set; } = "";
    public string AccessToken { get; set; } = "";
    public string Prefix { get; set; }
    public List<string> Admins { get; set; } = new();
}