Fix ytpHash when adding videos

This commit is contained in:
Loïc Bersier 2020-08-26 16:45:08 +00:00
parent b84ec367d5
commit b01b5bbfbb

View file

@ -201,7 +201,7 @@ class ytpCommand extends Command {
return message.reply('Video too big.. Not adding.'); 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); await ytpHash.create(body);
} }