0

我试过把我的自定义表情符号作为这样的页脚:

embed.set_footer(text=f"<:Bloxxer:793683622238224384> Bloxxer")

它不起作用,并且与页脚中的字符串完全相同。是否可以在 discord.py 的页脚中设置自定义表情符号?

4

2 回答 2

0

我不认为 discord.py 允许将表情符号放在嵌入的页脚中,但如果您想将表情符号放在字段中,请参阅下面的代码。

@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)
于 2020-12-31T00:54:57.403 回答
0

您可以使用 windows 表情符号,您不会拥有服务器的表情符号,但可以使用 ✅ 或 discord 字体等内容。要打开 windows 表情符号,您可以使用 windows + dot。

于 2021-05-28T21:11:28.350 回答