mirror of
https://github.com/HirziDevs/PteroStats.git
synced 2026-03-31 06:23:53 -04:00
feat: updaste config version to 8
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
# PteroStats Configuration File
|
# PteroStats Configuration File
|
||||||
# Need help? Join our Discord server: https://discord.znproject.my.id
|
# 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
|
# App Presence Configuration
|
||||||
presence:
|
presence:
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ try {
|
|||||||
process.exit();
|
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');
|
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();
|
process.exit();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user