Forgot to move this to asset folder

This commit is contained in:
loicbersier 2019-11-04 14:43:39 +01:00
parent ea193818b0
commit 05d5579ab2

View file

@ -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}`);