From 936ced99cc31678b594b4ec6838b7742c4921e49 Mon Sep 17 00:00:00 2001 From: Hirzi <64255651+HirziDevs@users.noreply.github.com> Date: Tue, 29 Jun 2021 13:18:37 +0700 Subject: [PATCH] Update createserver.js --- commands/createserver.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/createserver.js b/commands/createserver.js index cb9359a..6f03976 100644 --- a/commands/createserver.js +++ b/commands/createserver.js @@ -4,7 +4,7 @@ const { MessageEmbed } = require('discord.js') const node = require('nodeactyl') const admin = node.NodeactylApplication("https://host.itzy-store.net","IibMNIKmkjn5fp0kEMDiqKSpHeQ4lkmE030OIOatN7Usk8IN") -admin.createServer("latest", "Itzy Test Server", "79", "20", "quay.io/parkervcp/pterodactyl-images:debian_nodejs-14", "if [[ -d .git ]] && [[ {{AUTO_UPDATE}} == "1" ]]; then git pull; fi; if [[ ! -z ${NODE_PACKAGES} ]]; then /usr/local/bin/npm install ${NODE_PACKAGES}; fi; if [ -f /home/container/package.json ]; then /usr/local/bin/npm install --production; fi; /usr/local/bin/node /home/container/{{BOT_JS_FILE}}", "100", "0", "100", "500", "100", "1", "1", "1").then(response => { +admin.createServer("latest", "Itzy Test Server", "79", "20", "quay.io/parkervcp/pterodactyl-images:debian_nodejs-14", 'if [[ -d .git ]] && [[ {{AUTO_UPDATE}} == "1" ]]; then git pull; fi; if [[ ! -z ${NODE_PACKAGES} ]]; then /usr/local/bin/npm install ${NODE_PACKAGES}; fi; if [ -f /home/container/package.json ]; then /usr/local/bin/npm install --production; fi; /usr/local/bin/node /home/container/{{BOT_JS_FILE}}', "100", "0", "100", "500", "100", "1", "1", "1").then(response => { message.reply("server created") console.log(response) }).catch(e => {