Reducing rate limits for slots

This commit is contained in:
barelyprofessional
2025-12-31 20:37:46 -06:00
parent 70c4daf750
commit 5c186f13b1

View File

@@ -36,8 +36,8 @@ public class SlotsCommand : ICommand
public TimeSpan Timeout => TimeSpan.FromSeconds(30); public TimeSpan Timeout => TimeSpan.FromSeconds(30);
public RateLimitOptionsModel? RateLimitOptions => new() public RateLimitOptionsModel? RateLimitOptions => new()
{ {
MaxInvocations = 1, MaxInvocations = 2,
Window = TimeSpan.FromSeconds(30) Window = TimeSpan.FromSeconds(15)
}; };
public async Task RunCommand(ChatBot botInstance, MessageModel messagen, UserDbModel user, public async Task RunCommand(ChatBot botInstance, MessageModel messagen, UserDbModel user,