title: Sending a message on a user join event - discord.py
body: <p>I've been programming a bot that welcomes a user when they join but it doesn't seem to be working.</p>
  
  <pre><code>async def on_member_join(member):
      channel = member.channel
      await channel.send(f'{member} has arrived')
  </code></pre>