Ask 8ball a question like this: -8ball <question>. It will provide a random response such as 'yes' or 'no'.
const lib = require('lib')({token: process.env.STDLIB_SECRET_TOKEN});
let items = ['Yes', 'No', 'Maybe', 'Perhaps', 'Indecisive', "It's better if you don't know", 'Of course', 'Definitely not', 'Obviously not', 'Probably not'];
let random = items[Math.floor(Math.random() * items.length)]
if (context.params.event.content.startsWith('-8ball')) {
await lib.discord.channels['@0.1.1'].messages.create({
channel_id: `${context.params.event.channel_id}`,
content: random
});
}