Fix ytpHash when adding videos
This commit is contained in:
parent
b84ec367d5
commit
b01b5bbfbb
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue