Add Description

This commit is contained in:
Daniel Odendahl Jr
2017-09-19 22:54:39 +00:00
parent b805c3faef
commit 658a3c0e41
2 changed files with 5 additions and 2 deletions
+4 -1
View File
@@ -43,7 +43,10 @@ module.exports = class AkinatorCommand extends Command {
const embed = new MessageEmbed()
.setColor(0xF78B26)
.setTitle(`I'm ${Math.round(guess.proba * 100)}% sure it's...`)
.setDescription(guess.name)
.setDescription(stripIndents`
${guess.name}
_${guess.description}_
`)
.setThumbnail(guess.absolute_picture_path);
await msg.embed(embed);
const msgs = await msg.channel.awaitMessages(res => res.author.id === msg.author.id, {