This commit is contained in:
@ -6,7 +6,7 @@ function format(seconds) {
|
||||
var minutes = Math.floor((seconds % (60 * 60)) / 60);
|
||||
var seconds = Math.floor(seconds % 60);
|
||||
|
||||
return pad(hours) + ":" + pad(minutes) + ":" + pad(seconds);
|
||||
return pad(hours) + "h " + pad(minutes) + "m " + pad(seconds) + "s.";
|
||||
}
|
||||
|
||||
exports.name = "ping";
|
||||
@ -21,7 +21,7 @@ exports.run = async (client, message, args) => {
|
||||
m.createdTimestamp - message.createdTimestamp
|
||||
}ms**.\nAPI Latency is **${Math.round(
|
||||
client.ws.ping
|
||||
)}ms**.\n**Client uptime is ${format(process.uptime())}**`
|
||||
)}ms**.\nClient uptime is **${format(process.uptime())}**`
|
||||
);
|
||||
});
|
||||
};
|
||||
|
Reference in New Issue
Block a user