add kaboom in config for self care and core

This commit is contained in:
ChomeNS
2023-03-24 16:15:26 +07:00
parent ada2f66cdb
commit c7fdad965f
5 changed files with 13 additions and 6 deletions

View File

@@ -54,9 +54,10 @@ public class Main {
final String host = botOption.host();
final int port = botOption.port();
final String username = botOption.username();
final boolean kaboom = botOption.kaboom();
new Thread(() -> {
final Bot bot = new Bot(host, port, username, allBots, config);
final Bot bot = new Bot(host, port, username, kaboom, allBots, config);
allBots.add(bot);
latch.countDown();