Detect new reactions
guys please how can i make my bot remove all the reactions in all the messages in specific channel ?
or at least make it check if any message added remove it
or at least make it check if any message added remove it
npm list discord.js and node node -v version?✅ Marked as resolved by OPclient.on("messageReactionAdd", async (reaction, user) => {
console.log('test');
});const { Client, IntentsBitField, Partials, Events } = require('discord.js');
const eventHandler = require('./handlers/eventHandler');
const client = new Client({
intents: [
IntentsBitField.Flags.Guilds,
IntentsBitField.Flags.GuildMembers,
IntentsBitField.Flags.GuildMessages,
IntentsBitField.Flags.MessageContent,
],
partials: [Partials.Message, Partials.Channel, Partials.Reaction],
});