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