forked from Supositware/Haha-Yes
Change when it check for link
Signed-off-by: loicbersier <loic.bersier1@gmail.com>
This commit is contained in:
parent
8abe1bd25c
commit
e1ad11ce55
1 changed files with 2 additions and 2 deletions
|
@ -51,8 +51,6 @@ class DownloadCommand extends Command {
|
||||||
}
|
}
|
||||||
|
|
||||||
async exec(message, args) {
|
async exec(message, args) {
|
||||||
if (!args.link) return message.channel.send('Please try again with a valid URL.');
|
|
||||||
|
|
||||||
if (args.listproxy) {
|
if (args.listproxy) {
|
||||||
let proxys = [];
|
let proxys = [];
|
||||||
|
|
||||||
|
@ -71,6 +69,8 @@ class DownloadCommand extends Command {
|
||||||
return message.channel.send(Embed);
|
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 <a:loadingmin:527579785212329984>');
|
let loadingmsg = await message.channel.send('Downloading <a:loadingmin:527579785212329984>');
|
||||||
let filename = `${message.id}_video`;
|
let filename = `${message.id}_video`;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue