From 6fe1b2788bc34c6d882fb0cb2e6e215ac3eab381 Mon Sep 17 00:00:00 2001 From: Koffe <78866073+ThatKoffe@users.noreply.github.com> Date: Thu, 30 Nov 2023 16:46:02 +0100 Subject: [PATCH] Update skyv-restarter.js --- skyv-restarter.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/skyv-restarter.js b/skyv-restarter.js index a79b12c..f88dc64 100644 --- a/skyv-restarter.js +++ b/skyv-restarter.js @@ -8,6 +8,9 @@ const args = process.argv.slice(2); const token = args.find((arg) => arg.startsWith('--token='))?.split('=')[1]; const serverId = args.find((arg) => arg.startsWith('--server='))?.split('=')[1]; +console.log('token', token); +console.log('serverId', serverId); + if (!token || !serverId) { console.log('Missing arguments, exiting.'); process.exit(1);