From fa041e1eb02284770be52e301adda1b0fabd0aa4 Mon Sep 17 00:00:00 2001 From: loicbersier Date: Fri, 13 Sep 2019 19:09:10 +0200 Subject: [PATCH] Rename ready to compressed --- commands/utility/download.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/utility/download.js b/commands/utility/download.js index 90728c25..6daae117 100644 --- a/commands/utility/download.js +++ b/commands/utility/download.js @@ -115,7 +115,7 @@ class DownloadCommand extends Command { const options = { input: `${os.tmpdir()}/${fileName}.mp4`, - output: `${os.tmpdir()}/${fileName}Ready.mp4`, + output: `${os.tmpdir()}/${fileName}compressed.mp4`, preset: 'General/Gmail Small 10 Minutes 288p30' }; @@ -141,7 +141,7 @@ class DownloadCommand extends Command { }); handbrake.on('end', function () { message.delete(); - return message.channel.send(`Downloaded by ${message.author.username}`, { files: [`${os.tmpdir()}/${fileName}Ready.mp4`] }) + return message.channel.send(`Downloaded by ${message.author.username}`, { files: [`${os.tmpdir()}/${fileName}compressed.mp4`] }) .catch(err => { console.error(err); return message.channel.send('File too big');