From daeb2821bc42742f3c8f5a5a82d203c3aeecdb8b Mon Sep 17 00:00:00 2001 From: TheEdgeNK Date: Wed, 27 Jun 2018 18:27:48 -0400 Subject: ping 2.0 --- commands/Getting Started/ping.js | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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 = { -- cgit v1.2.3