When you have a message mentioning a particular user reactions will be added to that message. You can enter the user ID in Environment Variables to the user u want to have reactions when mentioned.
// Dm Tanush21#6183 if u have any questions.
const lib = require('lib')({token: process.env.STDLIB_SECRET_TOKEN});
let userId = process.env.USER_ID;
let emojis = [`π`, `π`];
if (context.params.event.mentions[0]?.id === `${userId}`) {
for (let emoji of emojis) {
await lib.discord.channels['@0.2.0'].messages.reactions.create({
emoji: emoji,
message_id: `${context.params.event.id}`,
channel_id: `${context.params.event.channel_id}`,
});
}
}