title: How to change bot nickname with Discord.py rewrite?
body: <p>The bot's nickname is never changed when using <code>client.user.edit(nick=name)</code> but prior commands and following commands are executed properly. Is there a different command I should use or maybe the parameter is incorrect?</p>
  
  <p>I'm using the Discord.py-rewrite and have had success with <code>client.user.edit(username=name)</code> actually setting <code>username</code> to <code>name</code>, but that's not what I want. I need to change the nickname to avoid the discord cooldown for changing usernames.</p>
  
  <pre><code>def function(name):
    await client.user.edit(nick=name)
  </code></pre>
  
  <p>It should be changing the nickname just as the username is changed, but nothing happens. I'm not receiving an error either. I have the bot role permissions change nickname and manage nicknames set to true.</p>