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",