1
0
forked from bot/app

snowy 进行的更改

This commit is contained in:
2024-03-22 12:41:38 +08:00
parent 367b8a5e5d
commit 0bd415961c
15 changed files with 207 additions and 85 deletions

View File

@ -59,8 +59,7 @@ async def _(result: Arparma, event: T_MessageEvent, bot: T_Bot):
ulang = get_user_lang(str(event.user_id))
if not os.path.exists("data/liteyuki/plugins.json"):
shutil.copy(get_res('unsorted/plugins.json'), "data/liteyuki/plugins.json")
nonebot.logger.info("Please update plugin store data file.")
await npm_update()
if result.subcommands.get("update"):
r = await npm_update()