feat: updaste config version to 8

This commit is contained in:
hirzidevs
2024-09-13 21:22:14 +07:00
parent f7f1ba850f
commit d5d9b4c026
2 changed files with 2 additions and 2 deletions

View File

@@ -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:

View File

@@ -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();
}