From be182bf521bcfafacd4376db8935542d936463b5 Mon Sep 17 00:00:00 2001 From: Alee Date: Sat, 24 Feb 2018 20:16:05 -0500 Subject: Now story is embeded --- commands/Fun/story.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'commands/Fun/story.js') diff --git a/commands/Fun/story.js b/commands/Fun/story.js index 037b7cb..f775e26 100644 --- a/commands/Fun/story.js +++ b/commands/Fun/story.js @@ -12,7 +12,12 @@ 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)]; - msg.channel.send(stories[storySelected]); + const embed = new Discord.RichEmbed() + .setColor(0x00ae86) + .setTitle(`Pokebot Storytime`) + .setDescription(stories[storySelected]) + .setFooter('PokeBot Beta'); + msg.channel.send( { embed } ); }); }; -- cgit v1.2.3