mirror of
https://github.com/musix-org/musix-oss
synced 2024-11-10 02:00:20 +00:00
Update index.js
This commit is contained in:
parent
02e69b9398
commit
8b821c5bb1
2
index.js
2
index.js
@ -20,7 +20,7 @@ client.on('message', async msg => {
|
||||
msg.channel.send(`My current Ping: **${Math.floor(client.ping * 10) / 10} ms**.`)
|
||||
return;
|
||||
}
|
||||
if (msg.content === `${PREFIX} uptime`) {
|
||||
if (msg.content === `${PREFIX}uptime`) {
|
||||
var uptime = parseDate(client.uptime, ['h', 'm']);
|
||||
var finalUptime
|
||||
if (uptime.h === 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user