diff options
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; +} |