diff options
| author | TheEdgeNK <trey6979@gmail.com> | 2018-06-27 18:30:07 -0400 |
|---|---|---|
| committer | TheEdgeNK <trey6979@gmail.com> | 2018-06-27 18:30:07 -0400 |
| commit | ba19dc8dee42dec15c5ae0ebec459956d3b571d4 (patch) | |
| tree | c2484312734889342e28b01d251a78e30e789eef | |
| parent | daeb2821bc42742f3c8f5a5a82d203c3aeecdb8b (diff) | |
| download | PokeBot-ba19dc8dee42dec15c5ae0ebec459956d3b571d4.tar.gz PokeBot-ba19dc8dee42dec15c5ae0ebec459956d3b571d4.tar.bz2 PokeBot-ba19dc8dee42dec15c5ae0ebec459956d3b571d4.zip | |
trey cant js season 3 episode 1
| -rw-r--r-- | commands/Getting Started/ping.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/commands/Getting Started/ping.js b/commands/Getting Started/ping.js index 0ae322d..72ac036 100644 --- a/commands/Getting Started/ping.js +++ b/commands/Getting Started/ping.js @@ -8,7 +8,7 @@ * *************************************/ exports.run = (bot, msg) => { - + const { RichEmbed } = require('discord.js'); const embed = new RichEmbed(); embed .setColor (0x00ae86) @@ -17,7 +17,7 @@ exports.run = (bot, msg) => { embed.addField('Client Heartbeat', Math.floor(bot.ping) + 'ms.'); - msg.channel.send(embed) + msg.channel.send({ embed }) }; exports.conf = { |
