disable exclamation mark history expansion thing in console

sussy jline,.,..,.,
This commit is contained in:
Chayapak 2023-05-14 13:57:05 +07:00
parent e63459d5cc
commit 25b639c65e

View file

@ -31,6 +31,8 @@ public class ConsolePlugin {
this.allBots = allBots;
this.reader = LineReaderBuilder.builder().build();
reader.option(LineReader.Option.DISABLE_EVENT_EXPANSION, true);
for (Bot bot : allBots) {
prefix = bot.config().consolePrefixes().get("normalCommandsPrefix");
consoleServerPrefix = bot.config().consolePrefixes().get("consoleServerPrefix");
@ -42,7 +44,7 @@ public class ConsolePlugin {
new DiscordPlugin(discordConfig, jda);
String prompt = "> ";
final String prompt = "> ";
new Thread(() -> {
while (true) {