title: I need to change a python discord bot's avatar (profile picture) using discord.py rewrite
body: <p>This is the code I have for changing the avatar so far:</p>
  <pre><code>with open(&quot;image.png&quot;, &quot;rb&quot;) as file:
       await discord.ClientUser.edit(self=, avatar=file)
  </code></pre>
  <p>First, I don't even know if this is how you change a bot's profile picture. If this is the way, I don't know what I need to put after <code>self=</code>. I tried reading the docs and asking people how to do it but I didn't find anything to resolve this. Any help will be apreciated.</p>
  <p>This is how I define my client: <code>client = commands.Bot(command_prefix='.')</code></p>