about summary refs log tree commit diff
path: root/MatrixUtils.DmSpaced/ModerationBotConfiguration.cs
blob: 47e6423ce0c8dd4817eb7a972843a56a813f5e9d (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 string Homeserver { get; set; }
    public string AccessToken { get; set; }
}