title: discord.py / disnake.py / pycord.py voice mute
body: <p>I want to mute a user in a voice channel without kicking them.</p>
  <p>This does not fit:</p>
  <p>1.<code>await member.add_roles(role_mute)</code>
  For this to work, the user needs to be kicked from the voice chat.</p>
  <p>I tried to update the permissions in the voice channel, in the hope that this would help</p>
  <pre><code>await channel.set_permissions(role, overwrite=disnake.PermissionOverwrite(speak=False))
  await channel.set_permissions(member, overwrite=disnake.PermissionOverwrite(speak=False))
  </code></pre>
  <p>but it did not help</p>
  <p>2.<code>await member.edit(mute=True)</code>
  It works, but I saw on one server the mutes were not red.
  <a href="https://i.stack.imgur.com/wdSRi.png" rel="nofollow noreferrer">red mute</a>
  I think there was used <code>await member.add_roles(role_mute)</code>and something else, but I don't know what
  <a href="https://i.stack.imgur.com/Mq9gt.png" rel="nofollow noreferrer">gray mute</a></p>
  <p>What could it be?</p>
  <p><em>for &quot;mr beam&quot;</em></p>
  <p><a href="https://i.stack.imgur.com/0EHHU.png" rel="nofollow noreferrer"><em>When assigning a role</em></a></p>
  <p><a href="https://i.stack.imgur.com/70P4Z.png" rel="nofollow noreferrer"><em>If the user re-enters the channel</em></a></p>
  <p><em>I want it to look like the last screenshot, but without kicking the user
  from the channel</em></p>