use console.log() instead of lib.log()

This commit is contained in:
jkhsjdhjs 2017-03-30 20:14:04 +02:00
parent 54a1ef4a7b
commit 64cbeed42c

View File

@ -75,7 +75,7 @@ module.exports = (lib) => {
if(url.match(yt)) { // ytdl
ytdl.getInfo(url, (err, inf) => {
if(!err) {
lib.log(JSON.stringify(inf));
console.log(JSON.stringify(inf));
var title = inf.title;
var iurl = inf.iurl;
try {