title: How to give all members in a server a role?
body: <p>How do i add a role to everyone in a discord server? discord.js</p>
  <p>I've tried this:</p>
  <pre><code>
  if (!role) return message.channel.send(`**${message.author.username}**, role not found`)
  
  message.guild.members.forEach(member =&gt; member.addRole(role))```
  </code></pre>