refactor: make handleLine private in ConsolePlugin

This commit is contained in:
Chayapak 2024-11-23 17:29:10 +07:00
parent 832d6ee5fa
commit d8c8a9750d
Signed by: ChomeNS
SSH key fingerprint: SHA256:0YoxhdyXsgbc0nfeB2N6FYE60mxMU7DS4uCUMaw2mvA

View file

@ -18,7 +18,7 @@ public class ConsolePlugin implements Completer {
public String consoleServer = "all";
public String prefix;
private String prefix;
public ConsolePlugin () {
this.allBots = Main.bots;
@ -70,7 +70,7 @@ public class ConsolePlugin implements Completer {
candidates.addAll(filteredCommands);
}
public void handleLine (String line) {
private void handleLine (String line) {
if (line == null) return;
for (Bot bot : allBots) {