Bugtesting for 2.0 release

This commit is contained in:
plane000
2018-06-18 20:08:53 +01:00
parent 95ff57ea6f
commit ceedb3b277
11 changed files with 255 additions and 52 deletions

View File

@@ -24,6 +24,9 @@ if (!fs.existsSync('resources/config.json') || !fs.existsSync('resources/servers
}
Config.loadDefaults();
Config.writeToFile();
Logger.success('Config Successfully created');
Logger.log('Add your bot token to the newly created /resources/config.json to use Jeffery');
process.exit(1);
}
catch (e) {
Logger.warn(`Could not create the config: ${e.message}`);