From 62f068bc92ab4b95fc4596d9a4ba360c5b3bf403 Mon Sep 17 00:00:00 2001 From: loicbersier Date: Mon, 11 May 2020 00:47:15 +0200 Subject: [PATCH] New effect! Signed-off-by: loicbersier --- commands/fun/ytp.js | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/commands/fun/ytp.js b/commands/fun/ytp.js index fa60e3c2..519a94a2 100644 --- a/commands/fun/ytp.js +++ b/commands/fun/ytp.js @@ -83,6 +83,11 @@ class ytpCommand extends Command { match: 'flag', flag: ['--squidward'] }, + { + id: 'how', + match: 'flag', + flag: ['--how'] + }, { id: 'debug', match: 'flag', @@ -191,7 +196,7 @@ class ytpCommand extends Command { temp: os.tmpdir(), sourceList: asset, intro: args.force ? './asset/ytp/intro.mp4' : null, - outro: './asset/ytp/outro.mp4', // Need an outro or it won't work + outro: './asset/ytp/outro.mp4', OUTPUT_FILE: `${os.tmpdir()}/${message.id}_YTP.mp4`, MAX_CLIPS: MAX_CLIPS, transitions: true, @@ -207,7 +212,8 @@ class ytpCommand extends Command { effect_SpeedUp: !args.speedUp, effect_SlowDown: !args.slowDown, effect_Dance: !args.dance, - effect_Squidward: !args.squidward + effect_Squidward: !args.squidward, + effect_How: !args.how } };