Fix proxy (again?!?!)
This commit is contained in:
parent
1494d94be0
commit
b84ec367d5
1 changed files with 1 additions and 1 deletions
|
@ -178,7 +178,7 @@ class ytpCommand extends Command {
|
|||
url = await attachment(message);
|
||||
|
||||
if (url) {
|
||||
return downloader(url, ['--format=mp4', '--proxy', proxy[args.proxy]], `./asset/ytp/userVid/${message.id}.mp4`)
|
||||
return downloader(url, ['--format=mp4', '--proxy', proxy[args.proxy].ip], `./asset/ytp/userVid/${message.id}.mp4`)
|
||||
.on('error', (err) => {
|
||||
loadingmsg.delete();
|
||||
return message.channel.send(err, { code: true });
|
||||
|
|
Loading…
Reference in a new issue