blob: da83cfa877c0e51cac5771ad8daa42e0b9d642cd (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
using Microsoft.Extensions.Configuration;
namespace LibMatrix.Utilities.Bot;
public class LibMatrixBotConfiguration {
public LibMatrixBotConfiguration(IConfiguration config) => config.GetRequiredSection("LibMatrixBot").Bind(this);
public string Homeserver { get; set; }
public string? AccessToken { get; set; }
public string? AccessTokenPath { get; set; }
public List<string> Prefixes { get; set; }
public bool MentionPrefix { get; set; }
public string? LogRoom { get; set; }
}
|