Create a Discord message then react to it is a list of emojis
const lib = require('lib')({token: process.env.STDLIB_SECRET_TOKEN});
// *** Set your channel ID and emojis here ***
const channel_id = "12345"
const emojis = ["๐", "โค", "๐", "๐ฎ"]
// Create the original message
const message = await lib.discord.channels['@0.0.6'].messages.create({
channel_id,
content: "Hello ๐",
});
// React with the emojis
for (let i = 0; i < emojis.length; i++) {
await lib.discord.channels['@0.1.1'].messages.reactions.create({
channel_id,
message_id: message.id,
emoji: emojis[i],
});
}