Skip to content

Commit

Permalink
fix: path to url
Browse files Browse the repository at this point in the history
  • Loading branch information
fllesser committed Jan 8, 2025
1 parent 3f88a88 commit a5817f6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion nonebot_plugin_fortnite/matcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ async def _(arp: Arparma, name: str):
async def _(arp: Arparma, name: str):
stats_img = await get_stats_image(name, arp.header_match.result)
if stats_img.startswith('http'):
res = await UniMessage(Image(path=stats_img)).export()
res = await UniMessage(Image(url=stats_img)).export()
else:
res = stats_img
await stats.finish(res)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "nonebot-plugin-fortnite"
version = "0.0.4"
version = "0.0.5"
description = "堡垒之夜插件"
authors = ["fllesser <[email protected]>"]
readme = "README.md"
Expand Down

0 comments on commit a5817f6

Please sign in to comment.