fix: 链接主页不显示

This commit is contained in:
远野千束 2024-03-21 13:02:08 +08:00
parent 59506fcc76
commit 933979ceaa
2 changed files with 1 additions and 2 deletions

View File

@ -105,7 +105,6 @@ async def _(result: Arparma, event: T_MessageEvent, bot: T_Bot):
elif result.subcommands.get("install"):
plugin_name: str = result.subcommands["install"].args.get("plugin_name")
r, log = npm_install(plugin_name)
log = log.replace("\\", "/")
if r:
nonebot.load_plugin(plugin_name)
installed_plugin = InstalledPlugin(module_name=plugin_name)

View File

@ -100,4 +100,4 @@ class Markdown:
markdown格式的链接
"""
return f"[🔗{name}]({encode_url(url)})"
return f"[🔗{name}]({url})"