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 = ["❤","