title: Discord.py (async) How to edit channel names?
body: <p>I want it so when someone joins my server, my bot edits the name of the channel id given in the code, to the new member count. But it doesn't work. Could someone help me? </p>
  
  <h2>Code</h2>
  
  <pre><code>@bot.event
  async def on_member_join(member):
      welchannel = bot.get_channel("517298384089120768")
      await bot.edit_channel(welchannel, f"{len(set(self.bot.get_all_members()))}")
  </code></pre>