Use the prefix command " ?cat " and get cute cat images!
const lib = require('lib')({token: process.env.STDLIB_SECRET_TOKEN});
const meow = require("random-meow");
if (context.params.event.content.startsWith(`?cat`)) {
// [note] You can use async/await
meow().then(url => console.log(url)).catch(console.error);
let url = await meow()
await lib.discord.channels['@0.2.0'].messages.create({
channel_id: context.params.event.channel_id,
content: `${url}`,
});
}