diff options
| author | Alee <alee14498@gmail.com> | 2018-02-24 20:16:05 -0500 |
|---|---|---|
| committer | Alee <alee14498@gmail.com> | 2018-02-24 20:16:05 -0500 |
| commit | be182bf521bcfafacd4376db8935542d936463b5 (patch) | |
| tree | eaab2b73bad4820efb4c872ce8c94974c4379589 /commands/Fun | |
| parent | 27e2001844524992ecec6269f602d1031489fdbe (diff) | |
| download | PokeBot-be182bf521bcfafacd4376db8935542d936463b5.tar.gz PokeBot-be182bf521bcfafacd4376db8935542d936463b5.tar.bz2 PokeBot-be182bf521bcfafacd4376db8935542d936463b5.zip | |
Now story is embeded
Diffstat (limited to 'commands/Fun')
| -rw-r--r-- | commands/Fun/story.js | 7 |
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 } ); }); }; |
