Having trouble with '@client.event' in discord bot

here’s the code I wrote:

import discord
import os

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('hello'):
	await message.channel.send('hi!')

client.run(os.getenv(‘token’))

however whenever I run it it gives me an error:

'Traceback (most recent call last):
file “main.py”, line 7 in
async def on_ready():
TypeError: event() missing 1 required positional argument: ‘coro’ ’

It looks like this code is missing indents that discord.on_ready() and discord.on_message() need in order to know when to be called.