diff --git a/BlackOnion-Bot/files/values.json b/BlackOnion-Bot/files/values.json index a7e3a717..d7dba2dc 100644 --- a/BlackOnion-Bot/files/values.json +++ b/BlackOnion-Bot/files/values.json @@ -1,6 +1,6 @@ { - "commandsExecuted": 83, - "messagesSent": 499, + "commandsExecuted": 84, + "messagesSent": 556, "runMode": "production", "prefix": "?", "notifyUsers": [], diff --git a/BlackOnion-Bot/src/main/java/com/github/ahitm_2020_2025/blackonionbot/bot/BotSecrets.java b/BlackOnion-Bot/src/main/java/com/github/ahitm_2020_2025/blackonionbot/bot/BotSecrets.java index f729a611..9ad81b1f 100644 --- a/BlackOnion-Bot/src/main/java/com/github/ahitm_2020_2025/blackonionbot/bot/BotSecrets.java +++ b/BlackOnion-Bot/src/main/java/com/github/ahitm_2020_2025/blackonionbot/bot/BotSecrets.java @@ -42,10 +42,11 @@ public static void init() { botUsers.add(counterUser); try { - if (new File("files/discordusers").exists() && !Bot.isJarFile) { + if (new File("files/discordusers").exists()) { for (String line : Files.readLines(new File("files/discordusers"), StandardCharsets.UTF_8)) { String[] lineSplitted = line.split(":"); discordUsers.add(new DiscordUser(Long.valueOf(lineSplitted[0]), Boolean.valueOf(lineSplitted[1]))); + System.out.println(discordUsers.get(discordUsers.size() - 1)); } } } catch (IOException ex) {}