From dc0e70f925c55e85b1299ae19a96e34071b22b55 Mon Sep 17 00:00:00 2001 From: Unknown Date: Sat, 24 Feb 2018 20:33:30 -0500 Subject: more fixies --- commands/Fun/story.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/commands/Fun/story.js b/commands/Fun/story.js index 4f421c5..8835248 100644 --- a/commands/Fun/story.js +++ b/commands/Fun/story.js @@ -12,12 +12,13 @@ exports.run = async (bot, msg) => { `Story 2 ${selectedUser1.username} jumps into the window then ${selectedUser2.username} saves ${selectedUser1.username} and ${selectedUser3.username} claps.`, ]; const storySelected = [Math.floor(Math.random() * stories.length)]; - const embed = new Discord.RichEmbed() + const { RichEmbed } = require('discord.js'); + const embed = new RichEmbed() .setColor(0x00ae86) .setTitle('Pokebot Storytime') .setDescription(stories[storySelected]) .setFooter('PokeBot Beta'); - msg.channel.send(embed); + msg.channel.send({ embed }); }); }; -- cgit v1.2.3