Another wait for message...

This commit is contained in:
barelyprofessional
2026-02-05 23:46:29 -06:00
parent 28cc6a2651
commit 1890e3606b

View File

@@ -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];