1
0
mirror of https://github.com/musix-org/musix-oss synced 2024-12-22 21:13:18 +00:00

Update handleVideo.js

This commit is contained in:
MatteZ02 2020-06-11 14:59:09 +03:00
parent 5eb85500ed
commit 3a1ad33dd6

View File

@ -9,7 +9,7 @@ module.exports = async function (
playlist,
type
) {
const songInfo = await ytdl.getInfo(resource.url);
const songInfo = await ytdl.getInfo(resource.url).catch(err => console.log(err));
const song = {
title: Discord.Util.escapeMarkdown(songInfo.videoDetails.title),
url: resource.url,