if(err.includes('HTTP Error 429: Too Many Requests')){
if(err.includes('HTTP Error 429: Too Many Requests'))returnmessage.channel.send('`HTTP Error 429: Too Many Requests.`\nThe website you tried to download from probably has the bot blocked, you can try again with the `--proxy #` option ( can see the list of proxy with --listproxy ) and hope it work.');
if(args.proxy!=null){
args.proxy=args.proxy+1;
}else{
args.proxy=0;
args.proxyAuto=true;
}
if(!proxy[args.proxy])returnmessage.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(err.includes('Error: status code 403'))returnmessage.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('HTTP Error 429: Too Many Requests'))returnmessage.channel.send('`HTTP Error 429: Too Many Requests.`\nThe website you tried to download from probably has the bot blocked, you can try again with the `--proxy #` option ( can see the list of proxy with --listproxy ) and hope it work.');
if(err.includes('HTTP Error 429: Too Many Requests')){
if(args.proxy!=null){
args.proxy=args.proxy+1;
}else{
args.proxy=0;
args.proxyAuto=true;
}
if(!proxy[args.proxy])returnmessage.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(err.includes('Error: status code 403'))returnmessage.channel.send('`HTTP Error 403: Forbidden.`\nThe video you tried to download is not publicly available therefor the bot can\'t download it.');