这是我拥有的代码,我想知道如何制作它以便机器人嵌入需求。
@client.command()
async def partner(ctx):
await ctx.send("""__Requirements:__
1)
2)
""")
答案 0 :(得分:0)
这里:
@client.command()
async def partner(ctx):
embed = discord.Embed(title="Requirements:")
embed.add_field(name="(1) Title", value="Body 1", inline=False)
embed.add_field(name="(2) Title", value="Body 2", inline=False)
await ctx.send(embed=embed)