From e1ad11ce55cb8327d936298a8da48f47abdc6a7a Mon Sep 17 00:00:00 2001 From: loicbersier Date: Tue, 25 Aug 2020 03:12:17 +0200 Subject: [PATCH] Change when it check for link Signed-off-by: loicbersier --- 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 10a9e7a..d7f1658 100644 --- a/commands/utility/download.js +++ b/commands/utility/download.js @@ -51,8 +51,6 @@ class DownloadCommand extends Command { } async exec(message, args) { - if (!args.link) return message.channel.send('Please try again with a valid URL.'); - if (args.listproxy) { let proxys = []; @@ -71,6 +69,8 @@ class DownloadCommand extends Command { return message.channel.send(Embed); } + if (!args.link) return message.channel.send('Please try again with a valid URL.'); + let loadingmsg = await message.channel.send('Downloading '); let filename = `${message.id}_video`;