From b84ec367d55afc74cab62267243bc048f72ed893 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Bersier?= Date: Wed, 26 Aug 2020 16:36:12 +0000 Subject: [PATCH] Fix proxy (again?!?!) --- commands/fun/ytp.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/fun/ytp.js b/commands/fun/ytp.js index 7999978..57e4c57 100644 --- a/commands/fun/ytp.js +++ b/commands/fun/ytp.js @@ -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 });