How do I add an embed field below another embed field instead of it going to the right

Hi im wondering if theres anyway to make a discord embed field go below another discord embed field instead of going to the right without filling the right embed fields with invisible characters.

what im trying to do


Solution 1:

discord.Embed.add_field takes in three arguments; name, value and inline. By default, all fields have inline set to True, causing the fields to be placed next to each other. Therefore, you will want to specify otherwise. This can be done easily, as seen in the code and image below.

# 'Create' embed
embed = discord.Embed(title="Embed Title")
# Add embed fields
embed.add_field(name="Field 1", value="Value 1", inline=False)
embed.add_field(name="Field 2", value="Value 2", inline=False)
embed.add_field(name="Field 3", value="Value 3", inline=False)
await ctx.send(embed=embed)

Working image

Other Links:

  • discord.Embed - Discord.py Docs
  • How to align fields? - Stackoverflow
  • Discord Embeds align name and value in fields - Stackoverflow