From 6137432a42e8d761e3a50c7416bf74d3921f338c Mon Sep 17 00:00:00 2001 From: SIMULATAN Date: Tue, 5 Jan 2021 10:34:45 +0100 Subject: [PATCH] I'm fucking stupid like what the hell did I do why didn't i want that the fuck xD --- BlackOnion-Bot/files/values.json | 4 ++-- .../github/ahitm_2020_2025/blackonionbot/bot/BotSecrets.java | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) 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) {}