use console.log() instead of lib.log()
This commit is contained in:
parent
54a1ef4a7b
commit
64cbeed42c
|
@ -75,7 +75,7 @@ module.exports = (lib) => {
|
||||||
if(url.match(yt)) { // ytdl
|
if(url.match(yt)) { // ytdl
|
||||||
ytdl.getInfo(url, (err, inf) => {
|
ytdl.getInfo(url, (err, inf) => {
|
||||||
if(!err) {
|
if(!err) {
|
||||||
lib.log(JSON.stringify(inf));
|
console.log(JSON.stringify(inf));
|
||||||
var title = inf.title;
|
var title = inf.title;
|
||||||
var iurl = inf.iurl;
|
var iurl = inf.iurl;
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user