This commit is contained in:
Daniel Odendahl Jr
2017-09-27 16:49:37 +00:00
parent 9f1b9688ae
commit 8a70e44902
16 changed files with 88 additions and 18 deletions
+1
View File
@@ -30,6 +30,7 @@ module.exports = class RecipeCommand extends Command {
if (!body.results.length) return msg.say('Could not find any results.');
const recipe = body.results[Math.floor(Math.random() * body.results.length)];
const embed = new MessageEmbed()
.setAuthor('Recipe Puppy', 'https://i.imgur.com/mn05Z8y.png')
.setColor(0xC20000)
.setURL(recipe.href)
.setTitle(recipe.title)