From 06e7a98784272783e28ac26c20dd4bf9322fb87a Mon Sep 17 00:00:00 2001 From: supositware Date: Wed, 26 Aug 2020 19:24:20 +0200 Subject: [PATCH] fix url Signed-off-by: supositware --- 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 83fefdd..e2f3480 100644 --- a/commands/fun/ytp.js +++ b/commands/fun/ytp.js @@ -208,7 +208,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); }