Skip to content

Commit

Permalink
I'm fucking stupid like what the hell did I do why didn't i want that…
Browse files Browse the repository at this point in the history
… the fuck xD
  • Loading branch information
SIMULATAN committed Jan 5, 2021
1 parent 280110d commit 6137432
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions BlackOnion-Bot/files/values.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"commandsExecuted": 83,
"messagesSent": 499,
"commandsExecuted": 84,
"messagesSent": 556,
"runMode": "production",
"prefix": "?",
"notifyUsers": [],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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) {}
Expand Down

0 comments on commit 6137432

Please sign in to comment.