mirror of
https://github.com/Expand-sys/ccashbot
synced 2025-12-16 23:52:14 +11:00
awawadadw
This commit is contained in:
parent
91aa78a73f
commit
15ce5e75c3
1 changed files with 1 additions and 0 deletions
|
|
@ -20,6 +20,7 @@ function spawnMC(channel, message) {
|
||||||
cwd: "/CCash/CCash/build",
|
cwd: "/CCash/CCash/build",
|
||||||
};
|
};
|
||||||
let arguments = message.content.split("!ccash ");
|
let arguments = message.content.split("!ccash ");
|
||||||
|
console.log(arguments);
|
||||||
const ccash = spawn(`./bank ${arguments[0]}`, [``], options);
|
const ccash = spawn(`./bank ${arguments[0]}`, [``], options);
|
||||||
ccash.stdout.on("data", (data) => {
|
ccash.stdout.on("data", (data) => {
|
||||||
try {
|
try {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue