Answer the question
In order to leave comments, you need to log in
Why does it give an error with embed?
@bot.command()
@commands.has_permissions(administrator=True)
async def помощь(ctx):
emb = discord.Embed( title = "Помощь по командам", colour = discord.Color.purple())
emb.add_field( name = "-очистка", value = "Очистить чат" ),
emb.add_field( name = "-бан|разбан", value = "Забанить участника|Разбанить участника" ),
emb.add_field( name = "-кик", value = "Кикнуть участника" ),
emb.add_field( name = "-мут|размут", value = "Замутить участника|Замутить участника" ),
emb.add_field( name = "-жалоба", value = "Подать жалобу на участника|Задать вопрос администрации" )
await ctx.send( embed = emb )
Answer the question
In order to leave comments, you need to log in
The problem here is not the embed, but the ignorance of the python. You are clearly told that the problem is with indentation.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question