From d5d9b4c02632e5ecff5b6a107978877aee19071c Mon Sep 17 00:00:00 2001 From: hirzidevs Date: Fri, 13 Sep 2024 21:22:14 +0700 Subject: [PATCH] feat: updaste config version to 8 --- config.yml | 2 +- handlers/config.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config.yml b/config.yml index 8e0b7f2..aa60597 100644 --- a/config.yml +++ b/config.yml @@ -1,6 +1,6 @@ # PteroStats Configuration File # Need help? Join our Discord server: https://discord.znproject.my.id -version: 7 # Warning: Do not change this unless you know what you are doing! +version: 8 # Warning: Do not change this unless you know what you are doing! # App Presence Configuration presence: diff --git a/handlers/config.js b/handlers/config.js index 488f837..af9fa40 100644 --- a/handlers/config.js +++ b/handlers/config.js @@ -18,7 +18,7 @@ try { process.exit(); } -if (config.version !== 7) { +if (config.version !== 8) { console.error('Config Error | Invalid config version! The config has been updated, please get the new config from https://github.com/HirziDevs/PteroStats/blob/dev/config.yml'); process.exit(); }