msToTime format

This commit is contained in:
MatteZ02 committed 2020-02-10 21:07:09 +02:00
1 parent c1bbdf9532
commit e9a83e2f87
3 files changed
+3 -3

No files matched your search

+1 -1
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);