1
0
mirror of https://github.com/musix-org/musix-oss synced 2024-12-23 00:23:17 +00:00

Update index.js

This commit is contained in:
MatteZ02 2019-07-18 20:33:04 +03:00
parent 02e69b9398
commit 8b821c5bb1

View File

@ -20,7 +20,7 @@ client.on('message', async msg => {
msg.channel.send(`My current Ping: **${Math.floor(client.ping * 10) / 10} ms**.`) msg.channel.send(`My current Ping: **${Math.floor(client.ping * 10) / 10} ms**.`)
return; return;
} }
if (msg.content === `${PREFIX} uptime`) { if (msg.content === `${PREFIX}uptime`) {
var uptime = parseDate(client.uptime, ['h', 'm']); var uptime = parseDate(client.uptime, ['h', 'm']);
var finalUptime var finalUptime
if (uptime.h === 0) { if (uptime.h === 0) {