From d73ce41a476ab13b17bfe7c1d606d6d70652a195 Mon Sep 17 00:00:00 2001 From: loicbersier Date: Mon, 14 Sep 2020 15:39:27 +0200 Subject: [PATCH] that's what i get for copy pasting like a dumbass Signed-off-by: loicbersier --- 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 6500965c..5a4c215c 100644 --- a/commands/fun/ytp.js +++ b/commands/fun/ytp.js @@ -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'); 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.');