diff --git a/src/funcs/MPModule.ts b/src/funcs/MPModule.ts index 597c02e..f246ee4 100644 --- a/src/funcs/MPModule.ts +++ b/src/funcs/MPModule.ts @@ -22,7 +22,6 @@ export default async(client:TClient, Channel:string, Message:string, Server:TSer try { const hitDSS = await fetch(Server.ip+'/feed/dedicated-server-stats.json?code='+Server.code, sessionInit).then(r=>r.json() as Promise); const hitCSG = await fetch(Server.ip+'/feed/dedicated-server-savegame.html?code='+Server.code+'&file=careerSavegame', sessionInit).then(async r=>(new client.fxp.XMLParser({ignoreAttributes: false, transformAttributeName(attributeName){return attributeName.replaceAll('@_','')}}).parse(await r.text()) as any).careerSavegame as FSCareerSavegame); - console.log(hitCSG.settings) if (!hitDSS ?? !hitCSG){ if (hitDSS && !hitDSS.slots) return Logger.forwardToConsole('log', 'MPModule', `DSS failed with unknown slots table for ${client.MPServerCache[ServerName].name}`); diff --git a/src/helpers/ConfigHelper.ts b/src/helpers/ConfigHelper.ts index d81b691..0ab8fb7 100644 --- a/src/helpers/ConfigHelper.ts +++ b/src/helpers/ConfigHelper.ts @@ -5,11 +5,11 @@ export default class ConfigHelper { let importconfig:Config; try { importconfig = JSON.parse(readFileSync(configFile, 'utf8')); - console.log(`Using development config :: ${importconfig.configName}`); + console.log(`Loaded the config :: ${importconfig.configName}`); } catch (e) { console.error(`Error loading config file "${configFile}": ${e}`); process.exit(1); } return importconfig; } -} \ No newline at end of file +}