From 9595409d644bcd706ac16142f42531d0206f4e6a Mon Sep 17 00:00:00 2001 From: barelyprofessional <150058423+barelyprofessional@users.noreply.github.com> Date: Thu, 9 Oct 2025 22:10:14 -0500 Subject: [PATCH] Missing cleanup in planes --- KfChatDotNetBot/Commands/KasinoGambaCommands.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/KfChatDotNetBot/Commands/KasinoGambaCommands.cs b/KfChatDotNetBot/Commands/KasinoGambaCommands.cs index 7854d81..7c78c71 100644 --- a/KfChatDotNetBot/Commands/KasinoGambaCommands.cs +++ b/KfChatDotNetBot/Commands/KasinoGambaCommands.cs @@ -323,7 +323,7 @@ public class Planes : ICommand var counter = 0; var noseUp = true; var planesDisplay = GetPreGameBoard(-3, planesBoard, plane, carrierCount, noseUp); - var msgId = await botInstance.SendChatMessageAsync(planesDisplay, true); + var msgId = await botInstance.SendChatMessageAsync(planesDisplay, true, autoDeleteAfter: cleanupDelay); var num = 0; while (msgId.ChatMessageId == null) { @@ -378,7 +378,7 @@ public class Planes : ICommand noseUp = true; break; default: - await botInstance.SendChatMessageAsync("Something went wrong, error code 1.", true); + await botInstance.SendChatMessageAsync("Something went wrong, error code 1.", true, autoDeleteAfter: cleanupDelay); return; } }