prevent repeat logs?

This commit is contained in:
SowinskiBraeden committed 2023-07-02 10:36:12 -07:00
1 parent d1c205da58
commit 14c3c7b99f
4 files changed
+6 -4

No files matched your search

+2 -1
View File
@@ -200,7 +200,8 @@ class DayzArmbands extends Client {
c.log(`...Logs Tick - ${t.getHours()}:${t.getMinutes()}:${t.getSeconds()}...`);
c.activePlayersTick++;
await DownloadNitradoFile(c, `/games/${c.config.Nitrado.UserID}/noftp/dayzxb/config/DayZServer_X1_x64.ADM`, './logs/server-logs.ADM').then(async () => {
await DownloadNitradoFile(c, `/games/${c.config.Nitrado.UserID}/noftp/dayzxb/config/DayZServer_X1_x64.ADM`, './logs/server-logs.ADM').then(async (status) => {
if (status == -1) return c.error('...Failed to Download logs...');
c.log('...Downloaded logs...');
await c.readLogs(c.config.GuildID).then(async () => {
c.log('...Analyzed logs...');