From b514842691abbc1234170133dea19255acb43507 Mon Sep 17 00:00:00 2001 From: Braeden Sowinski Date: Fri, 31 Mar 2023 20:44:16 -0700 Subject: [PATCH] track time --- structures/DayzArmbands.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/structures/DayzArmbands.js b/structures/DayzArmbands.js index 2a7815d..ba15879 100644 --- a/structures/DayzArmbands.js +++ b/structures/DayzArmbands.js @@ -430,6 +430,8 @@ class DayzArmbands extends Client { playerStat.lastPos = playerStat.pos; playerStat.pos = info.pos; + playerStat.lastTime = playerStat.time; + playerStat.time = `${info.time} EST`; this.handleAlarms(guildId, { time: info.time, @@ -710,8 +712,10 @@ class DayzArmbands extends Client { bestKillStreak: 0, deathStreak: 0, worstDeathStreak: 0, - lastPos: [], pos: [], + lastPos: [], + time: null, + lastTime: null, lastConnectionDate: null, lastDamageDate: null, lastHitBy: null,