title: How do i give roles to members on discord.js in V13?
body: <p>so i am making a discord bot and i want to to be able to add and remove roles to players.
  in Discord.js V12 this works:</p>
  <pre class="lang-js prettyprint-override"><code>const role =
              message.mentions.roles.first() ||
              message.guild?.roles.cache.get(args[0]);
            const member =
              message.mentions.members?.first() ||
              message.guild?.members.cache.find((m) =&gt; m.user.tag === args[0]) ||
              message.mentions.roles.first();
  
            await member?.roles.add(role?.id).catch((e) =&gt; console.log(e));
  </code></pre>
  <p>This no longer works in V13:</p>
  <pre class="lang-js prettyprint-override"><code>Property 'roles' does not exist on type 'Role | GuildMember'.
    Property 'roles' does not exist on type 'Role'.ts(2339)
  </code></pre>
  <p><strong>Do anyone please have an answer i have search google for a day now?</strong></p>