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.")