Skip to content

Commit 817e044

Browse files
andrew-09Andrew1031
and
Andrew1031
authored
Remove backsticks in /jshell version (#1164)
Co-authored-by: Andrew1031 <andrewyee67@gmail.com>
1 parent 4173da4 commit 817e044

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

application/src/main/java/org/togetherjava/tjbot/features/jshell/JShellCommand.java

+1-2
Original file line numberDiff line numberDiff line change
@@ -111,12 +111,11 @@ public void onModalSubmitted(ModalInteractionEvent event, List<String> args) {
111111

112112
private void handleVersionCommand(SlashCommandInteractionEvent event) {
113113
String code = """
114-
System.out.println("```");
115114
System.out.println("Version: " + Runtime.version());
116115
System.out.println("Vendor: " + System.getProperty("java.vendor"));
117116
System.out.println("OS: " + System.getProperty("os.name"));
118117
System.out.println("Arch: " + System.getProperty("os.arch"));
119-
System.out.println("```");""";
118+
""";
120119
handleEval(event, null, false, code, false);
121120
}
122121

0 commit comments

Comments
 (0)