diff options
| -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 = { |
