diff --git a/muc/meow.js b/muc/meow.js index 7665c2c..a5fc5f2 100644 --- a/muc/meow.js +++ b/muc/meow.js @@ -15,14 +15,14 @@ const randomHexColor = require("random-hex-color"); module.exports.run = async (mu, input, pars) => { request.get('http://thecatapi.com/api/images/get?format=src&type=png', { }, function (error, response, body) { - let { body } = await superagent + let { body1 } = await superagent .get(`https://api-to.get-a.life/catfact`); if (!error && response.statusCode == 200) { let eCat = new API.RichEmbed() .setColor(randomHexColor()) .setTitle(`Cats, HERE!`) .setURL(response.request.uri.href) - .setDescription(`${input.author} said "${body.fact}"`) + .setDescription(`${input.author} said "${body1.fact}"`) .setImage(response.request.uri.href) .setFooter("Powered by thecatapi.com"); input.channel.send(eCat);