mirror of
https://github.com/TriM-Organization/LiteyukiBot-TriM.git
synced 2024-11-25 00:25:04 +08:00
perf: 优化插件搜索逻辑,避免重复关键词
This commit is contained in:
parent
8a8e9c62ab
commit
0880623930
@ -181,8 +181,6 @@ async def npm_search(keywords: list[str]) -> list[StorePlugin]:
|
|||||||
plugin.desc,
|
plugin.desc,
|
||||||
plugin.author,
|
plugin.author,
|
||||||
plugin.module_name,
|
plugin.module_name,
|
||||||
plugin.project_link,
|
|
||||||
plugin.homepage,
|
|
||||||
' '.join([tag.label for tag in plugin.tags])
|
' '.join([tag.label for tag in plugin.tags])
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user