From b01b5bbfbbf882f2935507e83e2feaba3b54cbe4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Bersier?= Date: Wed, 26 Aug 2020 16:45:08 +0000 Subject: [PATCH] Fix ytpHash when adding videos --- 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 57e4c57..c7c1ace 100644 --- a/commands/fun/ytp.js +++ b/commands/fun/ytp.js @@ -201,7 +201,7 @@ class ytpCommand extends Command { return message.reply('Video too big.. Not adding.'); } - const body = {hash: hash, link: args.link, messageID: message.id}; + const body = {hash: hash, link: url, messageID: message.id}; await ytpHash.create(body); }