const client = new Client({
intents: [
GatewayIntentBits.GuildMessages,
GatewayIntentBits.Guilds,
GatewayIntentBits.MessageContent,
GatewayIntentBits.GuildPresences,
GatewayIntentBits.GuildMembers,
GatewayIntentBits.GuildMessageReactions,
]
});
// the simple version for a simple output
client.on(Events.MessageReactionAdd, (reaction, user) => {
console.log("someone reacted to something");
});
const client = new Client({
intents: [
GatewayIntentBits.GuildMessages,
GatewayIntentBits.Guilds,
GatewayIntentBits.MessageContent,
GatewayIntentBits.GuildPresences,
GatewayIntentBits.GuildMembers,
GatewayIntentBits.GuildMessageReactions,
]
});
// the simple version for a simple output
client.on(Events.MessageReactionAdd, (reaction, user) => {
console.log("someone reacted to something");
});