python - 如何在嵌入 discord.py 中使用 markdown 语法发送图像
问题描述
我有这段代码来显示我的项目状态:
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
但是当我发送它时它不显示图像: 图片
我怎么能发送降价图像?
解决方案
推荐阅读
- c++ - 在 std::vector 中存储指针
- html - 使用 CSS 将图像块居中
- java - Maven 无法识别安装在 Ubuntu shell 上的 $JAVA_HOME jdk
- html - 如何在悬停时也有框阴影效果的表格行之间放置空间?
- c++ - 如何等待多个线程完成并重用它们?
- python - RPI 在启动时打开终端并自动运行循环 python 脚本
- c++ - c ++程序计算字母字符的出现次数
- tkinter - 尝试使用 Tka11y
- java - string.split(\\s+) 无法处理前导空格
- python - 卸载用户在 macOS High Sierra 上使用 pip 安装的所有软件包