From ae04347e970579f14a05e4ec788e17bf1475f4ba Mon Sep 17 00:00:00 2001 From: bingus_violet Date: Tue, 18 Jun 2024 06:44:09 -0500 Subject: [PATCH] Lanyard update stat --- pageUpdater.js | 2 +- static/stats/index.html | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/pageUpdater.js b/pageUpdater.js index 1b94449..c6127a8 100644 --- a/pageUpdater.js +++ b/pageUpdater.js @@ -98,10 +98,10 @@ function converter(html) { }, "SPINCOUNT": globalSpins, "UPTIME": timeFormatter((Date.now() - uptime) / 1000), + "LAST_LANYARD": timeFormatter((Date.now() - lastLanyardUpdate) / 1000), "WEATHER_MODIFIER": randomThemer.returnTheme(), "WEATHER_TEXT": "", "ANNOUNCEMENT": fs.readFileSync(path.join(__dirname, "config/announcement.html")), - "CACHED_IMAGES": fs.readdirSync(path.join(__dirname, "cached")).length.toString(), "ACTIVITIES": activityToHTML.activitiesToHTML(lanyardData) } diff --git a/static/stats/index.html b/static/stats/index.html index b4dab19..a367cc8 100644 --- a/static/stats/index.html +++ b/static/stats/index.html @@ -37,6 +37,7 @@