Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Discord.py bot not formatting text in footer in embed

I want to bold my text in footer in embed like this, but it’s not working there, and it’s working on the rest of the embed.
My code:

@bot.command()
async def test(ctx):
  user = ctx.author
  true_member_count = len([m for m in ctx.guild.members if not m.bot])
  guild = bot.get_guild(959460466223120405)
  embed = discord.Embed(name=f"\u200b", description=f"Welcome **{user}**!", color=discord.Color.from_rgb(129, 199, 250))
  embed.set_footer(text=f"You are **{true_member_count}** user on this server!!", icon_url=user.avatar_url)
  await ctx.send(embed=embed)

And this is the result:
https://imgur.com/a/iyvu0tc.
Does anyone know why is this happening?
Please help

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

The embed footer text doesn’t support Markdown, whereas description does.

I couldn’t find any mention of this in the official Discord or Discord.py docs, but it is mentioned in this Discord Webhooks Guide and on an old Reddit thread.

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading