{"size": 738, "ext": "js", "max_stars_repo_path": "events/status/ready.js", "max_stars_repo_name": "NatsuX1448/Hatsu-rewrite", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "events/status/ready.js", "max_issues_repo_name": "NatsuX1448/Hatsu-rewrite", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "events/status/ready.js", "max_forks_repo_name": "NatsuX1448/Hatsu-rewrite", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 33.5454545455, "max_line_length": 229, "alphanum_fraction": 0.6029810298}
//Stuff
const {version,author} = require('../../package.json');
const os = require('os');

/* Logger */
const logs = require('../../helper/logger/logger');
const logInfo = logs.getLogger("HatsuInfo");

/* RAM Calculation */
const mem = os.totalmem / 1073741824

/* Main */
module.exports = {
    event: "ready",
    once: false,
    run() {
        logInfo.info(`Hatsuku is Ready! | Version:${version}`);
        logInfo.info(`Developer:${author}`);
        logInfo.info(`NodeJS:${process.version}`);
        logInfo.info("SYSTEM INFO:\n", `OS:${os.type}\n`, `Platform:${os.platform}\n`, `SYSUSER:${os.hostname}\n`, `Architecture:${os.arch}\n`,`OS Version:${os.release}\n`, `RAM:${mem.toFixed(2)}\n`, `CPU:${os.cpus(1)[0].model}`)
    }
}