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

msToTime format

This commit is contained in:
MatteZ02
2020-02-10 21:07:09 +02:00
parent c1bbdf9532
commit e9a83e2f87
3 changed files with 3 additions and 3 deletions

View File

@ -31,7 +31,7 @@ module.exports = async function (guild, song, client, seek, play) {
const thumbnail = getThumb(serverQueue.songs[0].url);
const embed = new Discord.MessageEmbed()
.setTitle(`<a:aNotes:674602408105476106> Start playing: **${song.title}**`)
.setDescription(`Song duration: \`${client.funcs.msToTime(songtime)}\``)
.setDescription(`Song duration: \`${client.funcs.msToTime(songtime, "hh:mm:ss")}\``)
.setThumbnail(thumbnail._rejectionHandler0)
.setColor(client.config.embedColor)
serverQueue.textChannel.send(embed);