From f231845320e4518d79df1c19affedcbc106bc9f2 Mon Sep 17 00:00:00 2001 From: barelyprofessional <150058423+barelyprofessional@users.noreply.github.com> Date: Sat, 9 May 2026 23:02:50 -0500 Subject: [PATCH] Split msg for length --- .../Commands/Kasino/KasinoStatisticsCommands.cs | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/KfChatDotNetBot/Commands/Kasino/KasinoStatisticsCommands.cs b/KfChatDotNetBot/Commands/Kasino/KasinoStatisticsCommands.cs index 1a58249..cf654dc 100644 --- a/KfChatDotNetBot/Commands/Kasino/KasinoStatisticsCommands.cs +++ b/KfChatDotNetBot/Commands/Kasino/KasinoStatisticsCommands.cs @@ -45,9 +45,13 @@ public class GetBiggestWins : ICommand bigWinsMsg += $"[br]{i}. {win.Gambler.User.KfUsername} bet {await win.WagerAmount.FormatKasinoCurrencyAsync()} on {win.Game.Humanize()} and won {await win.WagerEffect.FormatKasinoCurrencyAsync()} ({win.Multiplier:N}x)"; } - await botInstance.SendChatMessageAsync($"Top 10 biggest wins for game day {gameDay:yyyy-MM-dd}" + - $"[br]Big Multees[br][spoiler]{multeesMsg}[/spoiler]" + - $"[br]Big Wins[br][spoiler]{bigWinsMsg}[/spoiler]", - true, autoDeleteAfter: TimeSpan.FromSeconds(30)); + var msgs = new List + { + $"Top 10 biggest wins for game day {gameDay:yyyy-MM-dd}" + + $"[br]Big Multees[br][spoiler]{multeesMsg}[/spoiler]", + $"Big Wins[br][spoiler]{bigWinsMsg}[/spoiler]" + }; + + await botInstance.SendChatMessagesAsync(msgs, true, autoDeleteAfter: TimeSpan.FromSeconds(60)); } }