diff --git a/src/main/java/cc/fascinated/bat/features/logging/LogFeature.java b/src/main/java/cc/fascinated/bat/features/logging/LogFeature.java index 8784d98..403dd54 100644 --- a/src/main/java/cc/fascinated/bat/features/logging/LogFeature.java +++ b/src/main/java/cc/fascinated/bat/features/logging/LogFeature.java @@ -61,7 +61,7 @@ public class LogFeature extends Feature { if (content.length() > 512) { return "*Content too long, [click here to view]("+PasteUtils.uploadPaste(content).getUrl()+")*"; } - if (content.length() <= 32) { + if (content.length() <= 32 && !content.contains("\n")) { return "`%s`".formatted(content); } return "\n```\n%s\n```".formatted(content);