From 7df7e7dadfd6bd1e76cdcc78362ab03fbf98d579 Mon Sep 17 00:00:00 2001 From: barelyprofessional <150058423+barelyprofessional@users.noreply.github.com> Date: Sun, 10 May 2026 14:55:49 -0500 Subject: [PATCH] Add wager to the win size for statistics --- KfChatDotNetBot/Commands/Kasino/KasinoStatisticsCommands.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/KfChatDotNetBot/Commands/Kasino/KasinoStatisticsCommands.cs b/KfChatDotNetBot/Commands/Kasino/KasinoStatisticsCommands.cs index 9cb5f1f..0142db5 100644 --- a/KfChatDotNetBot/Commands/Kasino/KasinoStatisticsCommands.cs +++ b/KfChatDotNetBot/Commands/Kasino/KasinoStatisticsCommands.cs @@ -35,14 +35,16 @@ public class GetBiggestWins : ICommand foreach (var win in biggestMultees) { i++; - multeesMsg += $"[br]{i}. {win.Gambler.User.FormatUsername()} bet {await win.WagerAmount.FormatKasinoCurrencyAsync()} on {win.Game.Humanize()} and won {await win.WagerEffect.FormatKasinoCurrencyAsync()} ({win.Multiplier:N}x)"; + var winPlusWager = win.WagerEffect + win.WagerAmount; + multeesMsg += $"[br]{i}. {win.Gambler.User.FormatUsername()} bet {await win.WagerAmount.FormatKasinoCurrencyAsync()} on {win.Game.Humanize()} and won {await winPlusWager.FormatKasinoCurrencyAsync()} ({win.Multiplier:N2}x)"; } var bigWinsMsg = $"Big wins adding up to {await biggestWins.Sum(x => x.WagerEffect).FormatKasinoCurrencyAsync()}:"; i = 0; foreach (var win in biggestWins) { i++; - bigWinsMsg += $"[br]{i}. {win.Gambler.User.FormatUsername()} bet {await win.WagerAmount.FormatKasinoCurrencyAsync()} on {win.Game.Humanize()} and won {await win.WagerEffect.FormatKasinoCurrencyAsync()} ({win.Multiplier:N}x)"; + var winPlusWager = win.WagerEffect + win.WagerAmount; + bigWinsMsg += $"[br]{i}. {win.Gambler.User.FormatUsername()} bet {await win.WagerAmount.FormatKasinoCurrencyAsync()} on {win.Game.Humanize()} and won {await winPlusWager.FormatKasinoCurrencyAsync()} ({win.Multiplier:N2}x)"; } var msgs = new List