Missing cleanup in planes

This commit is contained in:
barelyprofessional
2025-10-09 22:10:14 -05:00
parent c42c77a270
commit 9595409d64

View File

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