I'm still fairly inept when it comes to software development, and need some help with making this command work for only certain roles on my discord server, or only work for certain users
client.on('message', async message => {
if (message.content === '-fruits') {
try {
await message.react('');
await message.react('');
await message.react('');
} catch (error) {
console.error('One of the emojis failed to react:', error);
}
}
});