about summary refs log tree commit diff
path: root/Utilities/LibMatrix.DevTestBot/Bot/DevTestBotConfiguration.cs
blob: dcbc67030cf438ee049ff33682ece1665a599d0f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
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; }
}