Buran Casino
Get 150% up to €700 + 200 Free Spins on first deposit!
A bot to show fun cat facts
Simple Random Cat Fact
Type @abbot cat-facts to see a random cat fact of the day!
module.exports.CatFacts = (async () => { // Change the code below with the code for your skill!
const axios = require(‘axios’); const url = ‘https://cat-fact.herokuapp.com/facts/random’; let results = await axios.get(url) .then(res => { return res.data; }) .catch(err => { return err; }); let catfact = results.text;
bot.reply(JSON.stringify(‘Cat Fact Time!!!! ‘ + catfact));
})();
Tessa
initial release