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

namespace LibMatrix.ExampleBot.Bot;

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