Okay, NVM. Now, I think it should’ve been like this:
const Discord = require(‘discord.js’);
const client = new Discord.Client();
client.once(‘ready’, () => {
console.log(‘Ready!’);
});
client.on('messageReactionAdd', (messageReaction, user) => {
if(user.bot) return;
const { message, emoji } = messageReaction;
if(emoji.name === "the emoji here") {
if(message.id === "message id here") {
message.author.addRole("role-id-goes-here", "Reaction Roles")
}
}
});
Though it’d be useful to check for earlier questions before adding one, such as this one here.