mirror of
https://github.com/barelyprofessional/KfChatDotNet.git
synced 2026-05-02 12:32:03 -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 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,
|
||||||
|
|||||||
Reference in New Issue
Block a user