import discord
from discord.ext import commands
bot = commands.Bot(command_prefix = ">", intents = discord.Intents.all())
@bot.event
async def on_ready():
print("I am connecred!")
bot.run("")
async def on_ready():
^
SyntaxError: invalid syntax