From 19c10f20f596ed913f78d67c5a9d7025ec15d8c7 Mon Sep 17 00:00:00 2001 From: barelyprofessional <150058423+barelyprofessional@users.noreply.github.com> Date: Sat, 17 Aug 2024 13:43:58 +0800 Subject: [PATCH] Fixed number formatting in the rainbet stats command --- KfChatDotNetBot/Commands/RainbetCommands.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/KfChatDotNetBot/Commands/RainbetCommands.cs b/KfChatDotNetBot/Commands/RainbetCommands.cs index e882832..a7b3626 100644 --- a/KfChatDotNetBot/Commands/RainbetCommands.cs +++ b/KfChatDotNetBot/Commands/RainbetCommands.cs @@ -28,7 +28,7 @@ public class RainbetStatsCommand : ICommand return; } var output = $"Rainbet stats for the last {window} hours (as seen on the bet feed):[br]" + - $"Bets: {bets.Count:N0}; Payout: ${bets.Sum(b => b.Payout)}; Wagered: {bets.Sum(b => b.Value):C}"; + $"Bets: {bets.Count:N0}; Payout: ${bets.Sum(b => b.Payout):C}; Wagered: {bets.Sum(b => b.Value):C}"; botInstance.SendChatMessage(output, true); } }