title: Discord.py how do I make a mute command?
body: <p>As the title says. I'm trying to figure out how to make a mute command using discord.py rewrite. I'm thinking that we need to have a "mute" role where the command used gives the user the "mute" role and for how long. How do I achieve this.</p>
  
  <p>I already have</p>
  
  <pre><code>@bot.command()
  @commands.has_permissions(mute_members)
  async def mute(ctx, member:discord.Member):
  </code></pre>