1
0
Fork 0

Forgot to move this to asset folder

akairo
loicbersier 5 years ago
parent ea193818b0
commit 05d5579ab2

@ -50,7 +50,7 @@ class nolightCommand extends Command {
});
async function apng() {
const { stdout, stderr } = await exec(`apngasm -o ${os.tmpdir()}/${message.id}nolight.png img/frame00*.png -s`)
const { stdout, stderr } = await exec(`apngasm -o ${os.tmpdir()}/${message.id}nolight.png asset/img/frame00*.png -s`)
.then(() => message.channel.send({files: [`${os.tmpdir()}/${message.id}nolight.png`]}));
console.log(`stdout: ${stdout}`);
console.log(`stderr: ${stderr}`);

Loading…
Cancel
Save