mirror of
https://github.com/barelyprofessional/KfChatDotNet.git
synced 2026-05-15 10:32:44 -04:00
Vastly increase the roulette timeout so that the round doesn't prematurely end due to the cancellation token expiring
This commit is contained in:
@@ -34,7 +34,7 @@ public class RouletteCommand : ICommand
|
|||||||
|
|
||||||
public string? HelpText => "!roulette <amount> <bet> - Bet types: number (0-36), red/black, odd/even, low/high, 1st12/2nd12/3rd12, col1/col2/col3";
|
public string? HelpText => "!roulette <amount> <bet> - Bet types: number (0-36), red/black, odd/even, low/high, 1st12/2nd12/3rd12, col1/col2/col3";
|
||||||
public UserRight RequiredRight => UserRight.Loser;
|
public UserRight RequiredRight => UserRight.Loser;
|
||||||
public TimeSpan Timeout => TimeSpan.FromSeconds(5);
|
public TimeSpan Timeout => TimeSpan.FromSeconds(300);
|
||||||
public RateLimitOptionsModel? RateLimitOptions => new()
|
public RateLimitOptionsModel? RateLimitOptions => new()
|
||||||
{
|
{
|
||||||
MaxInvocations = 10,
|
MaxInvocations = 10,
|
||||||
|
|||||||
Reference in New Issue
Block a user