mirror of
https://github.com/barelyprofessional/KfChatDotNet.git
synced 2026-05-02 04:22:04 -04:00
Inverted cooldown cleanup behavior
This commit is contained in:
@@ -128,8 +128,7 @@ public class RakebackCommand : ICommand
|
||||
public RateLimitOptionsModel? RateLimitOptions => new RateLimitOptionsModel
|
||||
{
|
||||
MaxInvocations = 1,
|
||||
Window = TimeSpan.FromSeconds(30),
|
||||
Flags = RateLimitFlags.AutoDeleteCooldownResponse
|
||||
Window = TimeSpan.FromSeconds(30)
|
||||
};
|
||||
public async Task RunCommand(ChatBot botInstance, MessageModel message, UserDbModel user, GroupCollection arguments,
|
||||
CancellationToken ctx)
|
||||
@@ -182,8 +181,7 @@ public class LossbackCommand : ICommand
|
||||
public RateLimitOptionsModel? RateLimitOptions => new RateLimitOptionsModel
|
||||
{
|
||||
Window = TimeSpan.FromSeconds(30),
|
||||
MaxInvocations = 1,
|
||||
Flags = RateLimitFlags.AutoDeleteCooldownResponse
|
||||
MaxInvocations = 1
|
||||
};
|
||||
public async Task RunCommand(ChatBot botInstance, MessageModel message, UserDbModel user, GroupCollection arguments,
|
||||
CancellationToken ctx)
|
||||
|
||||
Reference in New Issue
Block a user