From c2cfb4b81c1c99acab8113cba5bce38e82c9ca82 Mon Sep 17 00:00:00 2001 From: Hri7566 Date: Sat, 10 Sep 2022 01:12:38 -0400 Subject: [PATCH] eval fix --- .env | 6 +++--- config.js | 6 +++--- src/InternalBot/InternalBot.js | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.env b/.env index 7e73f38..af56812 100644 --- a/.env +++ b/.env @@ -1,7 +1,7 @@ ADMINPASS=bacon sandwich SALT=๖ۣۜH͜r̬i͡7566 -MONGO_URL=mongodb://7566:Phillies11@127.0.0.1/?authSource=admin&readPreference=primary&appname=MongoDB%20Compass&ssl=false -# MONGO_URL=mongodb://127.0.0.1:27017 -SSL=true +# MONGO_URL=mongodb://7566:Phillies11@127.0.0.1/?authSource=admin&readPreference=primary&appname=MongoDB%20Compass&ssl=false +MONGO_URL=mongodb://127.0.0.1:27017 +SSL=false MPPCLONE_TOKEN=056921b5199a52cf926baaed.15646cde-7a71-40d5-880c-5b283265c6fd diff --git a/config.js b/config.js index b149a8a..e0df305 100644 --- a/config.js +++ b/config.js @@ -1,6 +1,6 @@ module.exports = Object.seal({ port: 8443, - motd: "humongous clement", + // motd: "humongous clement", _id_PrivateKey: process.env.SALT, // defaultLobbyColor: "#19b4b9", @@ -23,6 +23,6 @@ module.exports = Object.seal({ visible: true }, - hostDevFiles: false, - enableMPPCloneBot: true + hostDevFiles: true, + enableMPPCloneBot: false }); diff --git a/src/InternalBot/InternalBot.js b/src/InternalBot/InternalBot.js index 21f1290..2945d1d 100644 --- a/src/InternalBot/InternalBot.js +++ b/src/InternalBot/InternalBot.js @@ -96,7 +96,7 @@ class InternalBot { break; case "eval": if (!isAdmin) return; - cl.server.eval(argcat); + cl.server.ev(argcat); break; } });