Help with Discord Bot

Im trying to make a discord bot and Im having the error, I don’t know what’s the problem, since i put the token on the secret window:

Traceback (most recent call last):
File “”, line 21, in‘TOKEN’))
TypeError: ‘_Environ’ object is not callable

The code:

import discord
import os

intents = discord.Intents.default()
intents.message_content = True

client = discord.Client(intents=intents)

async def on_ready():
  print('We have logged in as {0.user}'.format(client))

async def on_message(message):
  if == client.user:

    if message.content.startwith('$hello'):

os.environ is a dict, not a function - you access your environment variables with bracket notation.