mirror of
https://github.com/musix-org/musix-oss
synced 2024-12-22 21:13:18 +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**.`)
|
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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user