aboutsummaryrefslogtreecommitdiff
path: root/commands
diff options
context:
space:
mode:
authorAlee <alee14498@gmail.com>2018-02-24 20:16:05 -0500
committerAlee <alee14498@gmail.com>2018-02-24 20:16:05 -0500
commitbe182bf521bcfafacd4376db8935542d936463b5 (patch)
treeeaab2b73bad4820efb4c872ce8c94974c4379589 /commands
parent27e2001844524992ecec6269f602d1031489fdbe (diff)
downloadPokeBot-be182bf521bcfafacd4376db8935542d936463b5.tar.gz
PokeBot-be182bf521bcfafacd4376db8935542d936463b5.tar.bz2
PokeBot-be182bf521bcfafacd4376db8935542d936463b5.zip
Now story is embeded
Diffstat (limited to 'commands')
-rw-r--r--commands/Fun/story.js7
1 files changed, 6 insertions, 1 deletions
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 } );
});
};