summaryrefslogtreecommitdiff
path: root/app.js
diff options
context:
space:
mode:
Diffstat (limited to 'app.js')
-rw-r--r--app.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app.js b/app.js
index a319dcd..05b7400 100644
--- a/app.js
+++ b/app.js
@@ -1,6 +1,6 @@
const HYPIXEL_API_KEY =process.env.HYPIXEL_API_KEY;
const DISCORD_WEBHOOK_URL =process.env.DISCORD_WEBHOOK_URL;
-const CHECK_INTERVAL = 60 * 10; // 10 minutes
+const CHECK_INTERVAL = parseInt(process.env.CHECK_INTERVAL); // 10 minutes
const WARN_AFTER = 60 * 60 * 9; // 9 hours
const profiles = [