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}`);