mirror of
https://github.com/Expand-sys/ccashbot
synced 2025-12-16 15:42:13 +11:00
fix again
This commit is contained in:
parent
adcda4faa9
commit
91aa78a73f
1 changed files with 1 additions and 1 deletions
|
|
@ -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}`);
|
||||
|
|
|
|||
Loading…
Reference in a new issue