From ba73378f3536de26bd1ea2f99d3d2e864fbc3a7d Mon Sep 17 00:00:00 2001 From: hirzidevs Date: Fri, 13 Sep 2024 18:36:02 +0700 Subject: [PATCH] feat: update config version to 7 --- config.yml | 2 +- handlers/config.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config.yml b/config.yml index 8492f8c..2768328 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: 6 # Warning: Do not change this unless you know what you are doing! +version: 7 # 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 cddef9c..488f837 100644 --- a/handlers/config.js +++ b/handlers/config.js @@ -18,7 +18,7 @@ try { process.exit(); } -if (config.version !== 6) { +if (config.version !== 7) { 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(); }