mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2025-12-15 14:22:55 +08:00
Update __init__.py
This commit is contained in:
parent
bf9176ccdb
commit
3c6a365718
@ -52,7 +52,7 @@ async def _(bot: Bot, event: MessageEvent, state: T_State):
|
||||
@upload_img.got("path", prompt="要将图片上传至什么图库呢?")
|
||||
@upload_img.got("imgs", prompt="图呢图呢图呢图呢!GKD!")
|
||||
async def _(bot: Bot, event: MessageEvent, state: T_State):
|
||||
path = IMAGE_PATH + cn2py(state["path"])
|
||||
path = IMAGE_PATH + cn2py(state["path"]) + '/'
|
||||
img_list = state["imgs"]
|
||||
img_id = len(os.listdir(path))
|
||||
failed_list = []
|
||||
|
||||
Loading…
Reference in New Issue
Block a user