From 05d5579ab2a99d5b4d7516403509e5355e181716 Mon Sep 17 00:00:00 2001 From: loicbersier Date: Mon, 4 Nov 2019 14:43:39 +0100 Subject: [PATCH] Forgot to move this to asset folder --- commands/images/nolight.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/images/nolight.js b/commands/images/nolight.js index 74bf46a..defc9e4 100644 --- a/commands/images/nolight.js +++ b/commands/images/nolight.js @@ -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}`);