refactor/disable admin command

This commit is contained in:
SowinskiBraeden committed 2023-09-24 17:05:31 -07:00
1 parent 4416616c0a
commit b5dca5ad07
4 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -26,7 +26,7 @@ module.exports = {
},
DetectCombatLog: async (client, guildId, data) => {
if (data.lastDamageDate == null) return;
if (!client.exists(data.lastDamageDate)) return;
const newDt = await client.getDateEST(data.time);
const diffSeconds = Math.round((newDt.getTime() - data.lastDamageDate.getTime()) / 1000);
-1
View File
@@ -2,7 +2,6 @@ const { finished } = require('stream/promises');
const concat = require('concat-stream');
const { Readable } = require('stream');
const FormData = require('form-data');
const path = require("path");
const fs = require('fs');
const maxRetries = 5;
const retryDelay = 5000; // 5 seconds