From 503d0de41bebbb5cb25db5274679d56c68b8056f Mon Sep 17 00:00:00 2001 From: barelyprofessional <150058423+barelyprofessional@users.noreply.github.com> Date: Fri, 6 Feb 2026 23:43:02 -0600 Subject: [PATCH] Wager limit for roulette --- KfChatDotNetBot/Commands/Kasino/RouletteCommand.cs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/KfChatDotNetBot/Commands/Kasino/RouletteCommand.cs b/KfChatDotNetBot/Commands/Kasino/RouletteCommand.cs index 2b00b20..f6b20fc 100644 --- a/KfChatDotNetBot/Commands/Kasino/RouletteCommand.cs +++ b/KfChatDotNetBot/Commands/Kasino/RouletteCommand.cs @@ -147,6 +147,15 @@ public class RouletteCommand : ICommand return; } + decimal wagerLimit = 25; + if (wager > wagerLimit) + { + await botInstance.SendChatMessageAsync( + $"{user.FormatUsername()}, wagers are temporarily limited to {await wagerLimit.FormatKasinoCurrencyAsync()} during testing", + true, autoDeleteAfter: TimeSpan.FromSeconds(10)); + return; + } + // Parse and validate bet var betInfo = ParseBet(betStr); if (betInfo == null)