From 6bb2ffe00d4243b0e6bd685e3fa84e16eb36af69 Mon Sep 17 00:00:00 2001 From: loicbersier Date: Sat, 12 Oct 2019 18:06:54 +0200 Subject: [PATCH] fix issue with different level of compression not working --- commands/fun/vidshittifier.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/commands/fun/vidshittifier.js b/commands/fun/vidshittifier.js index 5e68ef5..3f94a53 100644 --- a/commands/fun/vidshittifier.js +++ b/commands/fun/vidshittifier.js @@ -31,10 +31,10 @@ class vidshittifierCommand extends Command { let input = `${os.tmpdir()}/${message.id}.mp4`; let output = `${os.tmpdir()}/Shittifyed${message.id}.mp4`; let compression; - if (args.compression == 1) { - compression = '10M'; - } else if (args.compression == 2) { + if (args.compresion == 1) { compression = '5M'; + } else if (args.compresion == 2) { + compression = '1M'; } else { compression = '10k'; }