Update index.js

This commit is contained in:
Bingus_Violet 2023-12-03 22:21:29 +00:00
parent cc1cd2d377
commit 108afd8ffd

View file

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