Z
Z
Zakkaru2021-08-14 13:04:58
Python
Zakkaru, 2021-08-14 13:04:58

I don't know where is the mistake? Because of her Embed is not sent?

I am doing an anime command, with a random word selection from the list, and then it turned out that Embed is not sent, help
Here is the code

@client.command(aliases=["anime","а","а"])
async def аниме(ctx):
  text = choice(random_list)
   emb = discord.Embed(title='Аниме',description= text, color=discord.Colour.gold())
   emb.add_field(name='Вот ваше аниме', inline=False)
    await ctx.send (embed = emb)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
soremix, 2021-08-14
@Zakkaru

There is an error in every line, read what is written to you in the console.
1. Two identical aliases
2. "Beautiful" design of the code with a ladder
3. .message.author.mention?
4. Wrong order of arguments

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question