My bot isn't working yet. Can someone help me?

Can someone say what should I fix? (Text in other language because i’m from Brazil)

import discord
import os

client = discord.Client()

async def on_ready():
  print("Nós logamos como {0.user}".format(client))

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

  if message.content.startswith("*Idocode"):
    await"Olá!! Já se inscreveu aos ótimos cursos da I do Code? Se não, entre no link aqui!")

#Don't enter the link"TOKEN"))

It is really hard to say much with a picture of the code.

So what should I do?

It would be helpful if you paste your code into a forum post and include the text of the error messages.

The only thing it shows is nothing, no error messages, no nothing


What forum post, exactly? I’m new to this platform

I edited the post, hope you can now see the problem with it. :wink:

I found the problem with the code. Thanks for trying to help.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.