title: event() missing 1 required positional argument: 'coro' error discord.py
body: <p>I'm making a bot for a new server and I keep getting this error, I'm fairly new to python and coding in general so any help is appreciated.</p>
  <p>event() missing 1 required positional argument: 'coro' error discord.py</p>
  <p>When I post this is saying it looks like my post is mostly code so im just going to type random things until it lets me post it. I have a pretty cool dog, he's very cute and he's the goodest boy to ever be good :)</p>
  <p>Below is the code where I'm getting the error</p>
  <pre><code>@client.event
   
  
      
  async def on_ready():
      print('We have logged in as {0.user}'
      .format(client))
  </code></pre>
  <p>And below is my full code</p>
  <pre><code>    import discord
  
  
  client = discord.Client
  
  @client.event
  async def on_ready():
      print('We have logged in as {0.user}'
      .format(client))
  
  @client.event
  async def on_message(message):
      if message.author == client.user:
          return
  
      if message.content.startswith('&gt;Hello Sylas'):
          await message.channel.send('Hello there!')
  
  @client.event
  async def on_message(message):
      if message.author == client.user:
          return
  
      if message.content.startswith('&gt;Is Dobbie cool?'):
          await message.channel.send('Yes, he is the goodest boy!')
  
  @client.event
  async def on_message(message):
      if message.author == client.user:
          return
      
      if message.content.startswith('&gt;Hey Sylas'):
          if str(message.author) in [&quot;Trax#8949&quot;]:
              await message.channel.send('Hey Trax!')
  
  
  
  @client.event
  async def on_message(message):  
      if message.author == client.user:
          return        
  async def on_message(message): 
      if message.content.startswith('&gt;'):
       async def ban(ctx, member : discord.Member, *, reason = None):
        await member.ban(reason = reason)
  
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  
  
  
  
  client.run('my token :)') 
  </code></pre>