A bot to give you an idea of what to do if you’re bored
About Abbot
Abbot is a programmable bot that turns your team chat into a shared command center. We handle all the boilerplate of building and running these conmmands so that you can focus on making tools that help you ship faster.
We built Abbot because we saw the power of this style of work (called ChatOps), when we worked at GitHub. ChatOps made it possible for GitHub to work productively without meetings, while globally distributed. We think it’s a pretty great way to work, so we made it easy to use in Slack, Discord, and Microsoft Teams.
You can read more about Abbot here, check out our blog, or take a look at some of the other cool packages available as a one-click install from Abbot’s Package Directory.
README
This package has no README
Usage
Type ‘ @abbot bored ‘ to get information
Code
const axios = require(‘axios’);
const url = “https://www.boredapi.com/api/activity”;
let results = await axios.get(url)
.then(res => { return res.data; })
.catch(err => { return err; });
let activity = results.activity;
bot.reply(JSON.stringify(“You know what you can do? ” + activity));
})();