module.exports = function(skill, info, bot, message) {
var request = require("request")

var url = "http://catfacts-api.appspot.com/api/facts?number=1"

request({
    url: url,
    json: true
}, function (error, response, body) {

    if (!error && response.statusCode === 200) {
        //console.log(body) // Print the json response
        bot.reply(message,body.facts[0]+ ':smile_cat:');
    }
})

};

module.exports = function(skill, info, bot, message, db) {
var request = require("request")

var url = "http://catfacts-api.appspot.com/api/facts?number=1"

request({
    url: url,
    json: true
}, function (error, response, body) {

    if (!error && response.statusCode === 200) {
        //console.log(body) // Print the json response
        bot.reply(message,body.facts[0]+ ':smile_cat:');
    }
})

};

Update CatFacts.js