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

namespace LibMatrix.ExampleBot.Bot;

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