Lanyard update stat
This commit is contained in:
parent
7c3ce11b1d
commit
ae04347e97
2 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
|
@ -37,6 +37,7 @@
|
|||
<ul>
|
||||
<li>Page generation time: {LOAD_TIME}</li>
|
||||
<li>Uptime: {UPTIME}</li>
|
||||
<li>Last Lanyard update: {LAST_LANYARD}</li>
|
||||
</ul>
|
||||
</main>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue