mirror of
https://github.com/barelyprofessional/KfChatDotNet.git
synced 2026-05-02 04:22:04 -04:00
Reducing rate limits for slots
This commit is contained in:
@@ -36,8 +36,8 @@ public class SlotsCommand : ICommand
|
||||
public TimeSpan Timeout => TimeSpan.FromSeconds(30);
|
||||
public RateLimitOptionsModel? RateLimitOptions => new()
|
||||
{
|
||||
MaxInvocations = 1,
|
||||
Window = TimeSpan.FromSeconds(30)
|
||||
MaxInvocations = 2,
|
||||
Window = TimeSpan.FromSeconds(15)
|
||||
};
|
||||
|
||||
public async Task RunCommand(ChatBot botInstance, MessageModel messagen, UserDbModel user,
|
||||
|
||||
Reference in New Issue
Block a user