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
@@ -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;