Home > Enterprise >  (discord.js) How can I make this command only work for certain roles/users?
(discord.js) How can I make this command only work for certain roles/users?

Time:01-23

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('           
  •  Tags:  
  • Related