From 520413c3da9d4d4483fd971d5852eda596a3cd0e Mon Sep 17 00:00:00 2001 From: barelyprofessional <150058423+barelyprofessional@users.noreply.github.com> Date: Wed, 13 May 2026 21:11:24 -0500 Subject: [PATCH] Moved the tagnag to before the meta and removed the grid to table. It did work but was still spaced a little ugly. Having the spoiler last should fix spacing issues --- KfChatDotNetBot/Commands/ImageCommands.cs | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/KfChatDotNetBot/Commands/ImageCommands.cs b/KfChatDotNetBot/Commands/ImageCommands.cs index 75cd0c9..250ea55 100644 --- a/KfChatDotNetBot/Commands/ImageCommands.cs +++ b/KfChatDotNetBot/Commands/ImageCommands.cs @@ -392,7 +392,7 @@ public class GetRandomImage : ICommand } var imageMeta = - $"[size=75][spoiler=\"Image Info\"][heading=1]ID: {image.Id}; Tags: {image.TagList.Humanize()}; Added By: {addedBy}; Date Added: {whenAdded}[/heading][/spoiler][/size]"; + $"[size=60][spoiler=\"Image Info\"][heading=1]ID: {image.Id}; Tags: {image.TagList.Humanize()}; Added By: {addedBy}; Date Added: {whenAdded}[/heading][/spoiler][/size]"; var tagNag = string.Empty; if (image.TagList.Count == 0) @@ -400,11 +400,7 @@ public class GetRandomImage : ICommand tagNag = $"[br]This image has no tags. You can add some using [ditto]!images tag {image.Id}[/ditto]"; } - var result = $"[img]{image.Url}[/img][br]{imageMeta}{tagNag}"; - if (tagNag != string.Empty) - { - result = result.MultilineToTable(); - } + var result = $"[img]{image.Url}[/img]{tagNag}[br]{imageMeta}"; await botInstance.SendChatMessageAsync(result, true, autoDeleteAfter: timeToDeletion); } } \ No newline at end of file