mirror of
https://github.com/LiteyukiStudio/LiteyukiBot.git
synced 2024-11-26 21:05:04 +08:00
feat: 添加了对markdown的简单封装
This commit is contained in:
parent
d8a25c6ba5
commit
db900a17d6
@ -69,7 +69,7 @@ async def _(result: Arparma, event: T_MessageEvent, bot: T_Bot):
|
|||||||
ulang = get_user_lang(str(event.user_id))
|
ulang = get_user_lang(str(event.user_id))
|
||||||
|
|
||||||
if not os.path.exists("data/liteyuki/plugins.json"):
|
if not os.path.exists("data/liteyuki/plugins.json"):
|
||||||
shutil.move(get_res('unsorted/plugins.json'), "data/liteyuki/plugins.json")
|
shutil.copy(get_res('unsorted/plugins.json'), "data/liteyuki/plugins.json")
|
||||||
nonebot.logger.info("Please update plugin store data file.")
|
nonebot.logger.info("Please update plugin store data file.")
|
||||||
|
|
||||||
if result.subcommands.get("update"):
|
if result.subcommands.get("update"):
|
||||||
|
Loading…
Reference in New Issue
Block a user