From c5f2e2d39f0c38814b8665ffced74b9eed85ab79 Mon Sep 17 00:00:00 2001 From: loicbersier Date: Sat, 12 Oct 2019 18:30:17 +0200 Subject: [PATCH] only shittifie the vid when there is no error on download --- commands/fun/vidshittifier.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/commands/fun/vidshittifier.js b/commands/fun/vidshittifier.js index a62dd7d..aab7dab 100644 --- a/commands/fun/vidshittifier.js +++ b/commands/fun/vidshittifier.js @@ -48,8 +48,9 @@ class vidshittifierCommand extends Command { console.error(err); loadingmsg.delete(); return message.channel.send('An error has occured, I can\'t download from the link you provided.'); + } else { + shittifie(); } - shittifie(); }); } else { return message.channel.send('You need a valid video link!');