📜  如何编码不和谐机器人嵌入 - 无论代码示例

📅  最后修改于: 2022-03-11 14:59:41.887000             🧑  作者: Mango

代码示例1
@client.command()async def embed(ctx):
embed=discord.Embed(title="Sample Embed",description="This is an embed that will show how to build an embed and the different components", color=discord.Color.blue())
await ctx.send(embed=embed)