mirror of
https://github.com/musix-org/musix-oss
synced 2026-10-22 21:45:00 +00:00
msToTime format
This commit is contained in:
1 parent
c1bbdf9532
commit
e9a83e2f87
3 files changed
+3
-3
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user