mirror of
https://github.com/maierfelix/POGOserver.git
synced 2026-10-03 14:56:53 -05:00
Update
- Updater finally works - Removed two unneeded libs - Updated version
This commit is contained in:
@@ -2,8 +2,6 @@ import fs from "fs";
|
||||
|
||||
import * as CFG from "../cfg";
|
||||
|
||||
import updater from "../updater";
|
||||
|
||||
const helpMessage = fs.readFileSync(".help", "utf8");
|
||||
|
||||
export function processCommand(cmd, data) {
|
||||
@@ -41,9 +39,7 @@ export function processCommand(cmd, data) {
|
||||
this.print(`Saved ${length} player${length === 1 ? "": "s"} into database!`);
|
||||
break;
|
||||
case "/update":
|
||||
updater().then(() => {
|
||||
// bla
|
||||
});
|
||||
eval(fs.readFileSync("update.js", "utf8"));
|
||||
break;
|
||||
default:
|
||||
this.print(`${cmd} is not a valid command!`, 31);
|
||||
|
||||
Reference in New Issue
Block a user