From ba19dc8dee42dec15c5ae0ebec459956d3b571d4 Mon Sep 17 00:00:00 2001 From: TheEdgeNK Date: Wed, 27 Jun 2018 18:30:07 -0400 Subject: trey cant js season 3 episode 1 --- commands/Getting Started/ping.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'commands/Getting Started/ping.js') 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 = { -- cgit v1.2.3