import chalk from "chalk";
import figlet from "figlet";
import gradient from "gradient-string";
import { choose, programInfo } from "./lib/helper.js";
import dotenv from "dotenv";
//Config
dotenv.config();
//Main
const currentVersion = Number(process.env.VERSION);
const serverVersion = await programInfo();
if (currentVersion !== serverVersion.version) {
console.log(
chalk.red(
"Your version is outdated. Please update to the latest version to continue."
)
);
process.exit(0);
}
await choose();
import chalk from "chalk";
import figlet from "figlet";
import gradient from "gradient-string";
import { choose, programInfo } from "./lib/helper.js";
import dotenv from "dotenv";
//Config
dotenv.config();
//Main
const currentVersion = Number(process.env.VERSION);
const serverVersion = await programInfo();
if (currentVersion !== serverVersion.version) {
console.log(
chalk.red(
"Your version is outdated. Please update to the latest version to continue."
)
);
process.exit(0);
}
await choose();