So ive been trying to find out a solution for this, i want the bot to read embed messages and react on them. I tried to get help from several coders and i got different codes and all of them are good and have no errors but when i run on discord it doesnt work.
last one i got :
client.on(“message”, async message => {
const { embeds } = message
if(!embeds || !embeds[0]) return
if(embeds[0].title && embeds[0].title == "✈Airdrop Apears") {
if(message.author.id != "294882584201003009" || message.author.id != "617037497574359050" || message.author.id != "582537632991543307") return
message.react("🎉")
}
})