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);