fix: process user_stats.ini

This commit is contained in:
Zamitto 2024-10-05 20:24:35 -03:00
parent 2a6b757e37
commit 71e7f1ee58
3 changed files with 8 additions and 4 deletions

View file

@ -10,6 +10,10 @@ log.transports.file.resolvePathFn = (
return path.join(logsPath, "pythoninstance.txt");
}
if (message?.scope == "achievements") {
return path.join(logsPath, "achievements.txt");
}
if (message?.level === "error") {
return path.join(logsPath, "error.txt");
}