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

namespace LibMatrix.ExampleBot.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; }
}