Skip to content

Commit 79c34e0

Browse files
committed
add newline after autoformat java codeblock
1 parent ea1e5a3 commit 79c34e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/net/discordjug/javabot/systems/help/AutoCodeFormatter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
@RequiredArgsConstructor
2929
@Component
3030
public class AutoCodeFormatter {
31-
private static final String CODEBLOCK_PREFIX = " ```java";
31+
private static final String CODEBLOCK_PREFIX = " ```java\n";
3232
private static final String CODEBLOCK_SUFFIX = " ```";
3333
private final AutoMod autoMod;
3434
private final BotConfig botConfig;

0 commit comments

Comments
 (0)