From 5e2dc25c7791b67d400b24aced69bb7fae3cef4e Mon Sep 17 00:00:00 2001 From: barelyprofessional <150058423+barelyprofessional@users.noreply.github.com> Date: Sun, 10 May 2026 11:01:09 -0500 Subject: [PATCH] Spoiler slots images --- KfChatDotNetBot/Commands/Kasino/SlotsCommand.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/KfChatDotNetBot/Commands/Kasino/SlotsCommand.cs b/KfChatDotNetBot/Commands/Kasino/SlotsCommand.cs index 7aaefee..a501073 100644 --- a/KfChatDotNetBot/Commands/Kasino/SlotsCommand.cs +++ b/KfChatDotNetBot/Commands/Kasino/SlotsCommand.cs @@ -134,7 +134,7 @@ public class SlotsCommand : ICommand throw new InvalidOperationException("board.ExportAndCleanup returned null"); } var imageUrl = await Zipline.Upload(finalImageStream, new MediaTypeHeaderValue("image/webp"), "1h", ctx); - await botInstance.SendChatMessageAsync($"[img]{imageUrl}[/img]", true, + await botInstance.SendChatMessageAsync($"[spoiler=\"Slots game for {user.FormatUsername().Replace("\"", string.Empty)}\"][img]{imageUrl}[/img][/spoiler]", true, autoDeleteAfter: TimeSpan.FromSeconds(60)); // delay till slots graphic deletion. }