React to the most recent messsage sent in a channel with all emojis provided in the "emojis" array.
const lib = require('lib')({token: process.env.STDLIB_SECRET_TOKEN});
const {channel_id} = context.params.event;
const emojis = [
'<:upvote:938413991951224882>', // Add custom emojis like this
'<:downvote:938413981981368400>',
'π', // Add unicode emojis like this
'π',
];
let message_id = (await lib.discord.channels['@0.3.0'].messages.list({ channel_id, limit: 1 }))[0].id;
for (let emoji of emojis) {
await lib.discord.channels['@0.2.0'].messages.reactions.create({ emoji, message_id, channel_id });
}