1
0
mirror of https://github.com/musix-org/musix-oss synced 2025-06-18 05:26:00 +00:00

updated video search

This commit is contained in:
MatteZ02
2020-03-23 09:59:09 +02:00
parent 7e20f54362
commit 11cea679d1
4 changed files with 479 additions and 14 deletions

View File

@ -1,9 +1,8 @@
module.exports = async function (video, msg, voiceChannel, client, playlist = false) {
const Discord = require('discord.js');
const song = {
id: video.id,
title: Discord.Util.escapeMarkdown(video.title),
url: `https://www.youtube.com/watch?v=${video.id}`,
url: video.url,
author: msg.author
}