Use a table to try and deal with the ugly as hell spacing if the tagnag happens

This commit is contained in:
barelyprofessional
2026-05-13 21:04:41 -05:00
parent 9c5e364859
commit aa25b06ebe
+7 -1
View File
@@ -399,6 +399,12 @@ public class GetRandomImage : ICommand
{ {
tagNag = $"[br]This image has no tags. You can add some using [ditto]!images tag {image.Id}[/ditto]"; tagNag = $"[br]This image has no tags. You can add some using [ditto]!images tag {image.Id}[/ditto]";
} }
await botInstance.SendChatMessageAsync($"[img]{image.Url}[/img][br]{imageMeta}{tagNag}", true, autoDeleteAfter: timeToDeletion);
var result = $"[img]{image.Url}[/img][br]{imageMeta}{tagNag}";
if (tagNag != string.Empty)
{
result = result.MultilineToTable();
}
await botInstance.SendChatMessageAsync(result, true, autoDeleteAfter: timeToDeletion);
} }
} }