aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlee14 <Alee14498@gmail.com>2017-08-13 15:48:29 -0400
committerAlee14 <Alee14498@gmail.com>2017-08-13 15:48:29 -0400
commit78adb1c108d71a811b5a5982bbeb6ee56f577429 (patch)
treeac1728b4ed6b4d36a6a8ce0a69b9d45ee2c72e3c
parent922dfa852c1f4ef20ca06b8cd480e64ae455233a (diff)
downloadAleeBot-78adb1c108d71a811b5a5982bbeb6ee56f577429.tar.gz
AleeBot-78adb1c108d71a811b5a5982bbeb6ee56f577429.tar.bz2
AleeBot-78adb1c108d71a811b5a5982bbeb6ee56f577429.zip
Improved the ping command
-rw-r--r--aleebot.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/aleebot.js b/aleebot.js
index ee80a29..0cc42bc 100644
--- a/aleebot.js
+++ b/aleebot.js
@@ -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'){