1
0
mirror of https://github.com/musix-org/musix-oss synced 2025-07-07 10:40:49 +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

@ -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('<a:loading:674284196700618783> Pinging...').then(m => {
const latency = m.createdTimestamp - msg.createdTimestamp;