Home > other >  how to capture the reaction of an emoji in a message
how to capture the reaction of an emoji in a message

Time:09-25

when a message receives a reaction or emoji, I want to save the letter "y" in Wish. I need to use emoji in client.on("message", (message), not another, the next error is ReferenceError: emoji is not defined but i have no idea how to solve it

const { Client, Intents } = require("discord.js-selfbot");
const client = new Client({
    intents: [Intents.FLAGS.GUILDS, Intents.FLAGS.GUILD_MESSAGES, Intents.FLAGS.GUILD_MESSAGE_REACTIONS],
});

let token = "";

client.on('ready', () => {
    console.log('Ok!');
 });

 let ListWish = ["❤","           
  • Related