Search code examples
pythondiscorddiscord.pyembed

How can I also include normal content in an embedded message?


How do I also include normal content in an embedded message, just like the following image?

Image

For instance, this is a normal embedded message.

embed = discord.Embed(title="example", description="embed content")
await ctx.reply(embed=embed)

Solution

  • You are able to add content to a message as well as an Embed by specifying the content in the reply() parameters.

    from discord import Embed
    
    content = "content"
    embed = Embed(title="example", description="embed content")
    await ctx.reply(content=content, embed=embed)