📜  discord.py 嵌入 - Python 代码示例

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

代码示例6
@client.command()
async def embed(ctx):
    embed=discord.Embed(title="Sample Embed", url="https://realdrewdata.medium.com/", description="This is an embed that will show how to build an embed and the different components", color=0xFF5733)
    await ctx.send(embed=embed)