title: Welcome Message Python Discord Bot
body: <p>I want to make a Discord Bot with Python3.
  I want to add a message in the <code>#welcome</code> Channel and a message via <code>PM</code> to the new user.
  I get no error but the bot doesn't sent any messages.</p>
  <p>Here is my code:</p>
  <pre><code>#welcome message
  @client.event
  async def on_member_join(member):
      channel = discord.utils.get(member.guild.channels, name='willkommen')
      await channel.send(f&quot;Hallo auf dem Server&quot;)
      await message.author.send(f&quot;Hallo auf dem Server&quot;)
  </code></pre>
  <p>Here are the imports:</p>
  <pre><code>import discord
  import random
  import asyncio
  import logging
  from discord.ext import commands    
  </code></pre>
  <p>Someone have an idea How I can fix this?
  Thanks!! :)</p>