refactor/NitradoAPI.js to support future updates

This commit is contained in:
SowinskiBraeden committed 2023-09-06 21:23:41 -07:00
1 parent 52b65a8d1e
commit f7e94e1547
4 files changed
+98 -34

No files matched your search

+1 -1
View File
@@ -235,7 +235,7 @@ class DayzRBot extends Client {
c.activePlayersTick++;
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...');
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...');