From 91aa78a73f83b3ff35dbede8d26a9dc21d665aa9 Mon Sep 17 00:00:00 2001 From: Expand-sys Date: Wed, 20 Oct 2021 20:08:57 +1100 Subject: [PATCH] fix again --- commands/moderation/ccash.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/moderation/ccash.js b/commands/moderation/ccash.js index f04bcf6..75c1afc 100644 --- a/commands/moderation/ccash.js +++ b/commands/moderation/ccash.js @@ -20,7 +20,7 @@ function spawnMC(channel, message) { cwd: "/CCash/CCash/build", }; let arguments = message.content.split("!ccash "); - const ccash = spawn("./bank", [`${arguments[0]}`], options); + const ccash = spawn(`./bank ${arguments[0]}`, [``], options); ccash.stdout.on("data", (data) => { try { channel.send(`${data}`);