diff --git a/nonebot_plugin_fortnite/matcher.py b/nonebot_plugin_fortnite/matcher.py index 0df3f4e..32f9a38 100644 --- a/nonebot_plugin_fortnite/matcher.py +++ b/nonebot_plugin_fortnite/matcher.py @@ -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) diff --git a/pyproject.toml b/pyproject.toml index 5701030..119cf30 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "nonebot-plugin-fortnite" -version = "0.0.4" +version = "0.0.5" description = "堡垒之夜插件" authors = ["fllesser "] readme = "README.md"