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
ca99bb7f9c
commit
c6a15eb1a0
2
index.js
2
index.js
@ -53,7 +53,7 @@ client.on('message', async msg => {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (msg.content === `${PREFIX}ping`) {
|
if (msg.content === `${PREFIX}ping`) {
|
||||||
msg.channel.send(`My current ping is ${client.ping}`)
|
msg.channel.send(`Current Ping: **${Math.floor(client.ping * 10) / 10} ms**.`)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (msg.content === `${PREFIX}help`) {
|
if (msg.content === `${PREFIX}help`) {
|
||||||
|
Loading…
Reference in New Issue
Block a user