title: Using discord.py, how can I add a role to a user that contains spaces in its name?
body: <p>I have seen that you can add a role using a bot using discord.py. I want to make my code so that you can add roles with multiple words as its name so you don't get errors like 'Role "Chief" not found' when the command was -giverole Chief Executive Officer. I also want to add another parameter in which you ping the user you want to give the role to.</p>
  
  <p>This is for my discord server. I have got a working code that can give a role to you (whoever executes the command) and the role can only be one word: E.g. 'Members'</p>
  
  <pre><code>@client.command(pass_context=True)
  async def giverole(ctx, role: discord.Role):
      await client.add_roles(ctx.message.author, role)
  </code></pre>
  
  <p>Input: <code>-giverole &lt;mention_user&gt; &lt;role_name&gt;</code> (must be compatible to give a role that is multiple words)</p>
  
  <p>Output: I can sort out a message that it sends.</p>