Skip to content
This repository has been archived by the owner on Feb 10, 2021. It is now read-only.

Commit

Permalink
[11/25] Hot Fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
PMHStudio committed Nov 25, 2018
1 parent 391dde8 commit 60d1afd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions muc/meow.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 60d1afd

Please sign in to comment.