Skip to content

Commit 375af0d

Browse files
authored
Merge pull request #487 from danthe1st/autoformat-newline
add newline after autoformat java codeblock
2 parents 73838c5 + 79c34e0 commit 375af0d

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)