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:
parent
5eb85500ed
commit
3a1ad33dd6
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user