about summary refs log tree commit diff
path: root/MatrixRoomUtils.Bot/MRUBotConfiguration.cs
blob: 14d9b605f1db2a5e4a1a78273c54433e88e61aa7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
using Microsoft.Extensions.Configuration;

namespace MatrixRoomUtils.Bot; 

public class MRUBotConfiguration {
    public MRUBotConfiguration(IConfiguration config) {
        config.GetRequiredSection("Bot").Bind(this);
    }
    public string Homeserver { get; set; } = "";
    public string AccessToken { get; set; } = "";
}