Home>

I'm trying to format a string in embed, but it doesn't work. For some reason, string formatting only works inemb.add_fieldbut it doesn't quite suit me.

@commands.command()
    async def info(self, ctx):
        emb= discord.Embed(colour=discord.Colour.red(),title='All commands are sent with &lt prefix;
q>')
        emb.set_footer(text='*** my text ***')
        await ctx.author.send(embed=emb)

footer can't use text formatting

RAINGM2022-01-23 09:04:26

And there are some alternatives besides emb.add_field, since it wraps the line

Павел2022-01-23 09:06:58