From 6d4d461aa70120833824246c8c446ae6551392bd Mon Sep 17 00:00:00 2001 From: alogindtractor <251821224+A-Log-In-D-Tractor@users.noreply.github.com> Date: Thu, 26 Feb 2026 21:55:52 -0800 Subject: [PATCH] Update SlotsCommand.cs (#91) add delay for total loss message --- KfChatDotNetBot/Commands/Kasino/SlotsCommand.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/KfChatDotNetBot/Commands/Kasino/SlotsCommand.cs b/KfChatDotNetBot/Commands/Kasino/SlotsCommand.cs index 2d888ef..ca460e9 100644 --- a/KfChatDotNetBot/Commands/Kasino/SlotsCommand.cs +++ b/KfChatDotNetBot/Commands/Kasino/SlotsCommand.cs @@ -143,6 +143,7 @@ public class SlotsCommand : ICommand { newBalance = await Money.NewWagerAsync(gambler.Id, wager*spins, -wager*spins, WagerGame.Slots, ct: ctx); var totalWager = wager * spins; + await Task.Delay(TimeSpan.FromSeconds(spins)); await botInstance.SendChatMessageAsync( $"{user.FormatUsername()} you [color={colors[BuiltIn.Keys.KiwiFarmsRedColor].Value}]lost[/color] {await totalWager.FormatKasinoCurrencyAsync()} with {spins} spins. Current balance: {await newBalance.FormatKasinoCurrencyAsync()}", true, autoDeleteAfter: TimeSpan.FromSeconds(30));