about summary refs log tree commit diff
path: root/Utilities/LibMatrix.Utilities.Bot/LibMatrixBotConfiguration.cs
blob: 118b4dfdde26ec1cad741f3d916e9d9a35a74a43 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
using Microsoft.Extensions.Configuration;

namespace LibMatrix.Utilities.Bot;

public class LibMatrixBotConfiguration {
    public LibMatrixBotConfiguration(IConfiguration config) => config.GetRequiredSection("LibMatrixBot").Bind(this);
    public string Homeserver { get; set; } = "";
    public string AccessToken { get; set; } = "";
    public string Prefix { get; set; } = "?";
}