[Solved] Uploading a file in a embed discord.py (not a image)


if you want to put the file in an embed, that is not possible, discord themselves haven’t allowed for that. You can send a file and a message at the same time. Here’s how:

@client.command()
async def name(ctx):
    embed = discord.Embed(colour=0x00000)
    embed.title = f"your title"
    embed.description = f"your desc"
    await ctx.send(embed=embed)
    await ctx.file.send("filename.txt")

0

solved Uploading a file in a embed discord.py (not a image)