I have tried putting my custom emoji as a footer like this:
embed.set_footer(text=f"<:Bloxxer:793683622238224384> Bloxxer")
It does not work and comes out exactly as in the string in the footer. Is it possible to set a custom emoji in a footer in discord.py?
I don't think discord.py allows for putting emojis in the footer of an embed but if you would like to put one in a field see the below code.
@client.command()
async def embed(ctx):
emoji = client.get_emoji(id=EMOJI ID)
embed = discord.Embed()
channel = ctx.message.channel.id
embed.add_field(name='emoji', value=f"{emoji} Bloxxer")
await ctx.send(embed = embed)
You can use the windows emojis, you won't have the emojis of servers but things like ✅ or in the discord font will be available. To open the windows emojis you can use windows + dot.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.