diff --git a/index.js b/index.js index 1eac7f3..f74b943 100644 --- a/index.js +++ b/index.js @@ -60,8 +60,8 @@ function pageUpdate() { var currentHour = currentTime.getHours() if (currentHour >= 8 && currentHour <= 16 && !(currentTime.getDay() == 6 || currentTime.getDay() == 7)) { - addedHTML = `at school` - } else if (currentHour <= 10 && currentHour > 0) { + addedHTML = `busy` + } else if (currentHour <= 9 && currentHour > 0) { addedHTML = `eeping` } else { addedHTML = `active?` @@ -182,7 +182,8 @@ function pageUpdate() { addedHTML = "" var socialsHTML = fs.readFileSync(path.join(__dirname, 'static/socials/index.html')).toString() - addedHTML += socialsHTML.substr(socialsHTML.indexOf("