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

Song author and remove command

This commit is contained in:
MatteZ02
2019-10-24 19:29:04 +03:00
parent 72e600454f
commit bd9ef87dde
3 changed files with 27 additions and 1 deletions

View File

@ -3,7 +3,8 @@ module.exports = async function (video, message, voiceChannel, client, playlist
let song = {
id: video.id,
title: Discord.Util.escapeMarkdown(video.title),
url: `https://www.youtube.com/watch?v=${video.id}`
url: `https://www.youtube.com/watch?v=${video.id}`,
author: message.author
}
const serverQueue = client.queue.get(message.guild.id);
if (client.global.db.guilds[message.guild.id].defaultVolume === undefined) {