aboutsummaryrefslogtreecommitdiff
path: root/commands/Fun
diff options
context:
space:
mode:
authorUnknown <jtsshieh@outlook.com>2018-02-24 20:33:30 -0500
committerUnknown <jtsshieh@outlook.com>2018-02-24 20:33:30 -0500
commitdc0e70f925c55e85b1299ae19a96e34071b22b55 (patch)
treea9d146ba10c9dc38fdb437617f1f38cad9365fb3 /commands/Fun
parent882112976c312d5948e5505f26e90acf6d3ead78 (diff)
downloadPokeBot-dc0e70f925c55e85b1299ae19a96e34071b22b55.tar.gz
PokeBot-dc0e70f925c55e85b1299ae19a96e34071b22b55.tar.bz2
PokeBot-dc0e70f925c55e85b1299ae19a96e34071b22b55.zip
more fixies
Diffstat (limited to 'commands/Fun')
-rw-r--r--commands/Fun/story.js5
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 });
});
};