From 1890e3606b2d1f4836cc3cdcca4f040944e52ec0 Mon Sep 17 00:00:00 2001 From: barelyprofessional <150058423+barelyprofessional@users.noreply.github.com> Date: Thu, 5 Feb 2026 23:46:29 -0600 Subject: [PATCH] Another wait for message... --- KfChatDotNetBot/Commands/Kasino/MinesCommand.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/KfChatDotNetBot/Commands/Kasino/MinesCommand.cs b/KfChatDotNetBot/Commands/Kasino/MinesCommand.cs index 36945c6..f60358c 100644 --- a/KfChatDotNetBot/Commands/Kasino/MinesCommand.cs +++ b/KfChatDotNetBot/Commands/Kasino/MinesCommand.cs @@ -205,7 +205,8 @@ public class MinesCommand : ICommand } var msg = await botInstance.SendChatMessageAsync( $"{KasinoMines.ActiveGames[gambler.Id].ToString()}", true); - + var msgSuccess = await botInstance.WaitForChatMessageAsync(msg, ct: ctx); + if (!msgSuccess) throw new InvalidOperationException("Timed out waiting for the message"); if (pick == 0) //if using coordinates { var game = KasinoMines.ActiveGames[gambler.Id];