mirror of
https://github.com/musix-org/musix-oss
synced 2026-10-16 14:14:18 +00:00
Update handleVideo.js
This commit is contained in:
1 parent
5eb85500ed
commit
3a1ad33dd6
1 file changed
+1
-1
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user