diff options
Diffstat (limited to 'Jenny/JennyConfiguration.cs')
-rw-r--r-- | Jenny/JennyConfiguration.cs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Jenny/JennyConfiguration.cs b/Jenny/JennyConfiguration.cs new file mode 100644 index 0000000..a1609e7 --- /dev/null +++ b/Jenny/JennyConfiguration.cs @@ -0,0 +1,9 @@ +using Microsoft.Extensions.Configuration; + +namespace Jenny; + +public class JennyConfiguration { + public JennyConfiguration(IConfiguration config) => config.GetRequiredSection("Jenny").Bind(this); + + public List<string> Admins { get; set; } = new(); +} |