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

Update index.js

This commit is contained in:
MatteZ02 2019-07-09 12:16:11 +03:00
parent ca99bb7f9c
commit c6a15eb1a0

View File

@ -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`) {