aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheEdgeNK <trey6979@gmail.com>2018-06-27 18:27:48 -0400
committerTheEdgeNK <trey6979@gmail.com>2018-06-27 18:27:48 -0400
commitdaeb2821bc42742f3c8f5a5a82d203c3aeecdb8b (patch)
tree886a2319868bcf5f7a382240ef203bacffee7a59
parent68109a88c4707bab948b40c02acc28b17a27fd7a (diff)
downloadPokeBot-daeb2821bc42742f3c8f5a5a82d203c3aeecdb8b.tar.gz
PokeBot-daeb2821bc42742f3c8f5a5a82d203c3aeecdb8b.tar.bz2
PokeBot-daeb2821bc42742f3c8f5a5a82d203c3aeecdb8b.zip
ping 2.0
-rw-r--r--commands/Getting Started/ping.js11
1 files changed, 10 insertions, 1 deletions
diff --git a/commands/Getting Started/ping.js b/commands/Getting Started/ping.js
index 365c9f4..0ae322d 100644
--- a/commands/Getting Started/ping.js
+++ b/commands/Getting Started/ping.js
@@ -8,7 +8,16 @@
* *************************************/
exports.run = (bot, msg) => {
- msg.channel.send(':ping_pong: Pong! ' + Math.floor(bot.ping) + 'ms.');
+
+ const embed = new RichEmbed();
+ embed
+ .setColor (0x00ae86)
+ .setDescription('Showing bot statistics:')
+ .setFooter('Pokebot 2.0 Alpha 1');
+
+ embed.addField('Client Heartbeat', Math.floor(bot.ping) + 'ms.');
+
+ msg.channel.send(embed)
};
exports.conf = {