Discord.py 如何正确设置花名册命令的格式?(角色.成员)

Discord.py 如何正确设置花名册命令的格式?(角色.成员),discord.py,Discord.py,我不知道为什么命令的格式是这样的。我想表现得像这样: 但它是这样出现的吗? 以下是我的片段: em=discord.Embed( title=f“{found_role.name}花名册列表”, description=“”, 颜色=颜色 ) 尝试: 对于角色中的成员。成员: FO=get(ctx.message.guild.roles,name=“特许经营所有者”) GM=get(ctx.message.guild.roles,name=“总经理”) 如果FO在member.roles中:

我不知道为什么命令的格式是这样的。我想表现得像这样:

但它是这样出现的吗?

以下是我的片段:

em=discord.Embed(
title=f“{found_role.name}花名册列表”,
description=“”,
颜色=颜色
)
尝试:
对于角色中的成员。成员:
FO=get(ctx.message.guild.roles,name=“特许经营所有者”)
GM=get(ctx.message.guild.roles,name=“总经理”)
如果FO在member.roles中:
尝试:
em.description+=f“***\uuuuuu特许经营权所有者:{成员.提及}\n\n”
除:
em.description+=“***\uuuu特许经营权所有者\uu**:无\n\n”
成员角色中的elif GM:
尝试:
em.description+=f“***总经理:{成员.提及}\n\n”
除:
em.description+=“**\u\u总经理\\u**:无\n\n”
elif FO不在member.roles中,GM不在member.roles中:
尝试:
em.description+=f“{成员.提及}”
除:
em.description+=“无成员”
除索引器外:
如果len(find_role.members)==0:
return wait ctx.send('找不到任何成员:(')
等待ctx.send(嵌入=em)

为什么总是使用
说明
?也可以尝试使用
字段