mirror of
https://github.com/Alee14/AleeBot.git
synced 2025-01-23 19:42:04 -05:00
Improved the ping command
This commit is contained in:
parent
922dfa852c
commit
78adb1c108
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ client.on("message", function(message){
|
||||||
}
|
}
|
||||||
|
|
||||||
if(command === 'ping'){
|
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'){
|
if(command === 'suggest'){
|
||||||
|
|
Loading…
Add table
Reference in a new issue