Improved the ping command

This commit is contained in:
Andrew Lee 2017-08-13 15:48:29 -04:00
parent 922dfa852c
commit 78adb1c108

View file

@ -112,7 +112,7 @@ client.on("message", function(message){
}
if(command === 'ping'){
message.reply(`Pong! :ping_pong: \`${Date.now() - message.createdTimestamp} ms\``);
message.reply("**PONG!** :ping_pong: " + Math.round(client.ping) + " ms");
}
if(command === 'suggest'){