This commit is contained in:
Expand-sys 2021-10-20 20:07:10 +11:00
parent 3a03348836
commit adcda4faa9

View file

@ -10,11 +10,11 @@ module.exports = {
permissions: "KICK_MEMBERS", permissions: "KICK_MEMBERS",
async execute(message, args) { async execute(message, args) {
let channel = message.guild.channels.cache.get(process.env.CCASHCHAN); let channel = message.guild.channels.cache.get(process.env.CCASHCHAN);
spawnMC(channel); spawnMC(channel, message);
}, },
}; };
function spawnMC(channel) { function spawnMC(channel, message) {
let options = { let options = {
shell: true, shell: true,
cwd: "/CCash/CCash/build", cwd: "/CCash/CCash/build",