From 108afd8ffde6dad31e1e7580ed60b36e56842749 Mon Sep 17 00:00:00 2001 From: Bingus_Violet Date: Sun, 3 Dec 2023 22:21:29 +0000 Subject: [PATCH] Update index.js --- index.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/index.js b/index.js index 759ae65..2f916f1 100644 --- a/index.js +++ b/index.js @@ -1,6 +1,6 @@ const fs = require('fs') -var updateTime = (process.env.UPDATE_TIME || 30) +var updateTime = (process.env.UPDATE_TIME || 45) var clientId = "1176317740512985119" @@ -8,10 +8,10 @@ const steamID = process.env.STEAM_ID const thumborURL = "https://thumbor-production-0e82.up.railway.app/unsafe/fit-in/512x512/filters:fill(transparent)/" -// if (clientId == undefined) { -// console.error("No client ID was defined! Please check the documentation for how to add one.") -// return -// } +if (updateTime < 30) { + console.error("Update time must be above 30! Please change your settings!") + return +} if (steamID == undefined) { console.error("No Steam ID was defined! Please check the documentation for how to add one.")