1
0
mirror of https://github.com/musix-org/musix-oss synced 2024-11-10 05:10:17 +00:00

Update play.js

This commit is contained in:
MatteZ02 2020-06-04 13:33:57 +03:00
parent 275b671c36
commit a9561e667e

View File

@ -79,7 +79,7 @@ module.exports = async function (guild, song, client, seek, play) {
const embed = new Discord.MessageEmbed() const embed = new Discord.MessageEmbed()
.setTitle(`${client.messages.startPlaying}**${song.title}**`) .setTitle(`${client.messages.startPlaying}**${song.title}**`)
.setDescription( .setDescription(
`Song duration: \`${client.funcs.msToTime(queue.songs[0].songLength, "hh:mm:ss")}\`` `Song duration: \`${client.funcs.msToTime(queue.songs[0].songLength * 1000, "hh:mm:ss")}\``
) )
.setColor(client.config.embedColor); .setColor(client.config.embedColor);
queue.textChannel.send(embed); queue.textChannel.send(embed);