that's what i get for copy pasting like a dumbass
Signed-off-by: loicbersier <loic.bersier1@gmail.com>
This commit is contained in:
parent
73581ce89f
commit
d73ce41a47
1 changed files with 1 additions and 1 deletions
|
@ -198,7 +198,7 @@ class ytpCommand extends Command {
|
||||||
if (!proxy[args.proxy]) return message.channel.send('`HTTP Error 429: Too Many Requests.`\nThe website you tried to download from probably has the bot blocked along with its proxy');
|
if (!proxy[args.proxy]) return message.channel.send('`HTTP Error 429: Too Many Requests.`\nThe website you tried to download from probably has the bot blocked along with its proxy');
|
||||||
|
|
||||||
loadingmsg.delete();
|
loadingmsg.delete();
|
||||||
return this.client.commandHandler.runCommand(message, this.client.commandHandler.findCommand('download'), args);
|
return this.client.commandHandler.runCommand(message, this.client.commandHandler.findCommand('ytp'), args);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (err.includes('Error: status code 403')) return message.channel.send('`HTTP Error 403: Forbidden.`\nThe video you tried to download is not publicly available therefor the bot can\'t download it.');
|
if (err.includes('Error: status code 403')) return message.channel.send('`HTTP Error 403: Forbidden.`\nThe video you tried to download is not publicly available therefor the bot can\'t download it.');
|
||||||
|
|
Loading…
Reference in a new issue