From adcda4faa9b455b9da3028589e1f40c77e9a3703 Mon Sep 17 00:00:00 2001 From: Expand-sys Date: Wed, 20 Oct 2021 20:07:10 +1100 Subject: [PATCH] fix --- commands/moderation/ccash.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/moderation/ccash.js b/commands/moderation/ccash.js index 8427681..f04bcf6 100644 --- a/commands/moderation/ccash.js +++ b/commands/moderation/ccash.js @@ -10,11 +10,11 @@ module.exports = { permissions: "KICK_MEMBERS", async execute(message, args) { let channel = message.guild.channels.cache.get(process.env.CCASHCHAN); - spawnMC(channel); + spawnMC(channel, message); }, }; -function spawnMC(channel) { +function spawnMC(channel, message) { let options = { shell: true, cwd: "/CCash/CCash/build",