Took off rate limiting for images. I'll add it back on when it's tested.

This commit is contained in:
barelyprofessional
2025-09-10 00:38:18 -05:00
parent f547638b45
commit 2547ea45fb

View File

@@ -138,12 +138,7 @@ public class GetRandomImage : ICommand
public string? HelpText => "Get a random image";
public UserRight RequiredRight => UserRight.Loser;
public TimeSpan Timeout => TimeSpan.FromMinutes(10);
public RateLimitOptionsModel? RateLimitOptions => new()
{
Window = TimeSpan.FromSeconds(10),
MaxInvocations = 3,
Flags = RateLimitFlags.NoResponse | RateLimitFlags.UseEntireMessage
};
public RateLimitOptionsModel? RateLimitOptions => null;
public async Task RunCommand(ChatBot botInstance, MessageModel message, UserDbModel user, GroupCollection arguments,
CancellationToken ctx)
{