diff --git a/KfChatDotNetBot/Commands/XeetEmbedCommand.cs b/KfChatDotNetBot/Commands/XeetEmbedCommand.cs index 15a6fbf..759e80f 100644 --- a/KfChatDotNetBot/Commands/XeetEmbedCommand.cs +++ b/KfChatDotNetBot/Commands/XeetEmbedCommand.cs @@ -339,9 +339,17 @@ public class XeetEmbedCommand : ICommand if (mediaUrls.Count > 0) { + if (mediaUrls.Count >= 2) + { + bodyBuilder.Append("[spoiler=\"Media attachments\"]"); + } foreach (var mediaUrl in mediaUrls) { - bodyBuilder.Append($"[img]{mediaUrl}[/img][br]"); + bodyBuilder.Append($"[img]{mediaUrl}[/img]"); + } + if (mediaUrls.Count > 2) + { + bodyBuilder.Append("[/spoiler]"); } }