mirror of
https://github.com/TriM-Organization/LiteyukiBot-TriM.git
synced 2024-12-01 09:44:44 +08:00
fix: 链接主页不显示
This commit is contained in:
parent
59506fcc76
commit
933979ceaa
@ -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)
|
||||
|
@ -100,4 +100,4 @@ class Markdown:
|
||||
markdown格式的链接
|
||||
|
||||
"""
|
||||
return f"[🔗{name}]({encode_url(url)})"
|
||||
return f"[🔗{name}]({url})"
|
||||
|
Loading…
Reference in New Issue
Block a user