diff options
author | TheArcaneBrony <myrainbowdash949@gmail.com> | 2023-10-10 21:24:28 +0200 |
---|---|---|
committer | Emma [it/its]@Rory& <root@rory.gay> | 2023-10-10 21:44:30 +0200 |
commit | 06be7bed0c640c21503f75ce834a6fde2fc905ba (patch) | |
tree | eff4ef92267dd79ce308ec2df348ae6ef50e8ecc /OsuFederatedBeatmapApi/Services/FederatedBeatmapApiBotConfiguration.cs | |
download | OsuFederatedBeatmapApi-06be7bed0c640c21503f75ce834a6fde2fc905ba.tar.xz |
Initial commit
Diffstat (limited to 'OsuFederatedBeatmapApi/Services/FederatedBeatmapApiBotConfiguration.cs')
-rw-r--r-- | OsuFederatedBeatmapApi/Services/FederatedBeatmapApiBotConfiguration.cs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/OsuFederatedBeatmapApi/Services/FederatedBeatmapApiBotConfiguration.cs b/OsuFederatedBeatmapApi/Services/FederatedBeatmapApiBotConfiguration.cs new file mode 100644 index 0000000..b77cd75 --- /dev/null +++ b/OsuFederatedBeatmapApi/Services/FederatedBeatmapApiBotConfiguration.cs @@ -0,0 +1,8 @@ +namespace OsuFederatedBeatmapApi.Services; + +public class FederatedBeatmapApiBotConfiguration { + public FederatedBeatmapApiBotConfiguration(IConfiguration config) => config.GetRequiredSection("BeatmapApiBot").Bind(this); + + public List<string> Admins { get; set; } = new(); + public bool DemoMode { get; set; } = false; +} |