title: Show nickname instead of username for a ?members command (discord.js)
body: <p>This is my code</p>
  
  <pre><code>if (message.content.startsWith("?members")) {
          let roleName = message.content.split(" ").slice(1).join(" ");
  
          //Filtering the guild members only keeping those with the role
          //Then mapping the filtered array to their usernames
          let membersWithRole = message.guild.members.filter(member =&gt; {
              return member.roles.find(role =&gt; role.name.includes(roleName));
          }).map(member =&gt; {
              return member.user.username;
          })
  
          const embed = new Discord.RichEmbed({
              "title": `Members in ${roleName}`,
              "description": membersWithRole.join("\n"),
              "color": 0xFFFF
  
          });
  
          return message.channel.send(embed);
  
  
  
      }
  </code></pre>
  
  <p>I'm trying to make the embed display people's nicknames in the server instead of their discord usernames. I've tried member.user.nickname, but it doesn't work. Any help would be appreciated.</p>
  
  <p>Thanks in advance!</p>