feat: update config version to 5

This commit is contained in:
Hirzi
2024-09-11 08:19:55 +07:00
committed by GitHub
parent c6996eb80b
commit 49134e79c9

View File

@@ -19,11 +19,11 @@ try {
process.exit();
}
if (config.version !== 4) {
if (config.version !== 5) {
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();
}
console.log(cliColor.cyanBright("[PteroStats] ") + cliColor.yellow("Configuration loaded"))
module.exports = config
module.exports = configconfig