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

namespace MatrixRoomUtils.Bot.Bot; 

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