mirror of
https://github.com/barelyprofessional/KfChatDotNet.git
synced 2026-05-02 04:22:04 -04:00
Updated default cache duration for settings to the most common value of 1 hour, set a default for IsSecret and removed redundant properties.
This commit is contained in:
@@ -10,7 +10,7 @@ public class BuiltInSettingsModel
|
||||
public required string Regex { get; set; }
|
||||
public required string Description { get; set; }
|
||||
public string? Default { get; set; }
|
||||
public required bool IsSecret { get; set; }
|
||||
public required TimeSpan CacheDuration { get; set; } = TimeSpan.Zero;
|
||||
public bool IsSecret { get; set; } = false;
|
||||
public TimeSpan CacheDuration { get; set; } = TimeSpan.FromHours(1);
|
||||
public required SettingValueType ValueType { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user