diff options
| author | Unknown <jtsshieh@outlook.com> | 2018-02-24 20:33:30 -0500 |
|---|---|---|
| committer | Unknown <jtsshieh@outlook.com> | 2018-02-24 20:33:30 -0500 |
| commit | dc0e70f925c55e85b1299ae19a96e34071b22b55 (patch) | |
| tree | a9d146ba10c9dc38fdb437617f1f38cad9365fb3 | |
| parent | 882112976c312d5948e5505f26e90acf6d3ead78 (diff) | |
| download | PokeBot-dc0e70f925c55e85b1299ae19a96e34071b22b55.tar.gz PokeBot-dc0e70f925c55e85b1299ae19a96e34071b22b55.tar.bz2 PokeBot-dc0e70f925c55e85b1299ae19a96e34071b22b55.zip | |
more fixies
| -rw-r--r-- | commands/Fun/story.js | 5 |
1 files 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 }); }); }; |
