diff --git a/src/commands/nowplaying.js b/src/commands/nowplaying.js index a9e1560a..a8839327 100644 --- a/src/commands/nowplaying.js +++ b/src/commands/nowplaying.js @@ -22,7 +22,7 @@ module.exports = { const thumbnail = getThumb(serverQueue.songs[0].url); const embed = new Discord.MessageEmbed() .setTitle("__Now playing__") - .setDescription(`**Now playing:** ${serverQueue.songs[0].title}\n${array.join('')} | \`${client.funcs.msToTime(completed)} / ${client.funcs.msToTime(songtime)}\``) + .setDescription(`**Now playing:** ${serverQueue.songs[0].title}\n${array.join('')} | \`${client.funcs.msToTime(completed, "hh:mm:ss")} / ${client.funcs.msToTime(songtime, "hh:mm:ss")}\``) .setFooter(`Queued by ${serverQueue.songs[0].author.tag}`) .setURL(serverQueue.songs[0].url) .setThumbnail(thumbnail._rejectionHandler0) diff --git a/src/commands/status.js b/src/commands/status.js index bee27b1b..423ee86f 100644 --- a/src/commands/status.js +++ b/src/commands/status.js @@ -7,7 +7,7 @@ module.exports = { permission: 'none', category: 'info', execute(msg, args, client, Discord, prefix) { - const uptime = client.funcs.msToTime(client.uptime); + const uptime = client.funcs.msToTime(client.uptime, "dd:hh:mm:ss"); const ping = Math.floor(client.ping * 10) / 10; msg.channel.send(' Pinging...').then(m => { const latency = m.createdTimestamp - msg.createdTimestamp; diff --git a/src/struct/funcs/play.js b/src/struct/funcs/play.js index 718b9c8f..84726e7d 100644 --- a/src/struct/funcs/play.js +++ b/src/struct/funcs/play.js @@ -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(` 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);