title: Discord.py Welcome/Removed messages in chat
body: <p>So I am trying to make my bot leave welcome and removed messages using discord.py. </p>
  
  <pre><code>import discord
  from discord.ext import commands
  import random
  
  client = commands.Bot(command_prefix = '.')
  
  @client.event
  async def on_member_join(ctx, *, member):
      channel = member.server.get_channel("channel id")
      fmt = 'Welcome to the {1.name} Discord server, {0.mention}'
      await ctx.send_message(channel, fmt.format(member, member.server))
  
  @client.event
  async def on_member_remove(ctx, *, member):
      channel = member.server.get_channel("channel id")
      fmt = '{0.mention} has left/been kicked from the server.'
      await ctx.send_message(channel, fmt.format(member, member.server))
  
  client.run('client id')
  </code></pre>
  
  <p>The error </p>
  
  <pre><code>File "C:\python\lib\site-packages\discord\client.py", line 312, in _run_event
      await coro(*args, **kwargs)
  TypeError: on_member_join() missing 1 required keyword-only argument: 'member'
  </code></pre>
  
  <p>comes up.</p>
  
  <p>I am not sure why it isn't working. I have very little experience with it, so I am not sure what I am doing wrong. Could anyone tell me what I am missing?</p>