diff --git a/KfChatDotNetBot/Models/RateLimitModels.cs b/KfChatDotNetBot/Models/RateLimitModels.cs index 8abc9af..0d6d0b1 100644 --- a/KfChatDotNetBot/Models/RateLimitModels.cs +++ b/KfChatDotNetBot/Models/RateLimitModels.cs @@ -34,10 +34,11 @@ public class RateLimitOptionsModel /// Maximum number of permitted invocations within the window before triggering the rate limit /// public required int MaxInvocations { get; set; } + /// /// Optional set of flags to configure the behavior of the rate limiter /// - public RateLimitFlags Flags { get; set; } + public RateLimitFlags Flags { get; set; } = RateLimitFlags.None; } public class IsRateLimitedModel @@ -56,6 +57,10 @@ public class IsRateLimitedModel [Flags] public enum RateLimitFlags { + /// + /// Placeholder for the default value + /// + None, /// /// Silently ignore a user when they trigger a rate limit ///