如何在embed discord.py中使用标记语法发送图像

2024-05-23 23:42:23 发布

您现在位置:Python中文网/ 问答频道 /正文

我有以下代码来显示我的项目状态:

def status(branch):
    embed=discord.Embed(title="Wng status", description=f"**On branch : {branch} :**\n\n- Windows : ![WinStatus](https://img.shields.io/github/workflow/status/Wmanage/wng/Rust/{branch})\n- *nix : ![WinStatus](https://img.shields.io/github/workflow/status/Wmanage/wng/RustUnix/{branch})", color=0xffaa00)
    embed.set_footer(text="w/status • Status of wng project")
    return embed

但在我发送时它不会显示图像: picture

我如何发送降价图片


Tags: 项目代码httpsiogithubbranchimgshields