Error code in a discord bot

No. I will show you some code as an example.

myString = "Hello"

for char in myString: // as you can see, there is a colon here. so we indent on the code below it.

Please put your repl link so I can review it.

can you show me what should i do and where i need to indent ?

import discord
from discord.ext import commands
import music

print("Discord version ", discord.__version__)
print("Bot Running")

cogs = [music]

client = commands.Bot(command_prefix='?', intents=discord.Intents.all())

  for i in range(len(cogs)):

Hello @ACsaszar! Please edit your post’s code to be formatted like this:

Your code here

So that it is easier for the staff and helpers to help you with your issue!

I posted his code in that format: Error code in a discord bot - #11 by functionally